2320 elements out of order for descriptive clarity. The actual structure
2321 definitions are contained in <procfs.h>.
2322
2323 BUGS
2324 Because the old ioctl(2)-based version of /proc is currently supported
2325 for binary compatibility with old applications, the top-level directory
2326 for a process, /proc/pid, is not world-readable, but it is world-
2327 searchable. Thus, anyone can open /proc/pid/psinfo even though ls(1)
2328 applied to /proc/pid will fail for anyone but the owner or an
2329 appropriately privileged process. Support for the old ioctl(2)-based
2330 version of /proc will be dropped in a future release, at which time the
2331 top-level directory for a process will be made world-readable.
2332
2333
2334 On SPARC based machines, the types gregset_t and fpregset_t defined in
2335 <sys/regset.h> are similar to but not the same as the types prgregset_t
2336 and prfpregset_t defined in <procfs.h>.
2337
2338
2339
2340 July 23, 2015 PROC(4)
|
2320 elements out of order for descriptive clarity. The actual structure
2321 definitions are contained in <procfs.h>.
2322
2323 BUGS
2324 Because the old ioctl(2)-based version of /proc is currently supported
2325 for binary compatibility with old applications, the top-level directory
2326 for a process, /proc/pid, is not world-readable, but it is world-
2327 searchable. Thus, anyone can open /proc/pid/psinfo even though ls(1)
2328 applied to /proc/pid will fail for anyone but the owner or an
2329 appropriately privileged process. Support for the old ioctl(2)-based
2330 version of /proc will be dropped in a future release, at which time the
2331 top-level directory for a process will be made world-readable.
2332
2333
2334 On SPARC based machines, the types gregset_t and fpregset_t defined in
2335 <sys/regset.h> are similar to but not the same as the types prgregset_t
2336 and prfpregset_t defined in <procfs.h>.
2337
2338
2339
2340 June 6, 2016 PROC(4)
|