aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/platform.c
diff options
context:
space:
mode:
authorWojtek Wasko <[email protected]>2025-03-03 16:13:45 +0000
committerDavid S. Miller <[email protected]>2025-03-05 12:43:54 +0000
commit76868642e42795353106197abf9c607ad80f4c9e (patch)
tree026d00dfc472150b7680404ecade3fd715c20d0a /rust/helpers/platform.c
parentptp: Add PHC file mode checks. Allow RO adjtime() without FMODE_WRITE. (diff)
downloadkernel-76868642e42795353106197abf9c607ad80f4c9e.tar.gz
kernel-76868642e42795353106197abf9c607ad80f4c9e.zip
testptp: Add option to open PHC in readonly mode
PTP Hardware Clocks no longer require WRITE permission to perform readonly operations, such as listing device capabilities or listening to EXTTS events once they have been enabled by a process with WRITE permissions. Add '-r' option to testptp to open the PHC in readonly mode instead of the default read-write mode. Skip enabling EXTTS if readonly mode is requested. Acked-by: Richard Cochran <[email protected]> Reviewed-by: Vadim Fedorenko <[email protected]> Signed-off-by: Wojtek Wasko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions