- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for generic_permission (0.12 sec)
-
src/syscall/syscall_linux.go
if flags&_AT_EACCESS != 0 { uid = Geteuid() if uid != 0 && isCapDacOverrideSet() { // If CAP_DAC_OVERRIDE is set, file access check is // done by the kernel in the same way as for root // (see generic_permission() in the Linux sources). uid = 0 } } else { uid = Getuid() } if uid == 0 { if mode&1 == 0 { // Root can read and write any file. return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 35.7K bytes - Viewed (0)