Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for capToIndex (0.5 sec)

  1. src/syscall/exec_linux.go

    			// Add the c capability to the permitted and inheritable capability mask,
    			// otherwise we will not be able to add it to the ambient capability mask.
    			caps.data[capToIndex(c)].permitted |= capToMask(c)
    			caps.data[capToIndex(c)].inheritable |= capToMask(c)
    		}
    
    		if _, _, err1 = RawSyscall(SYS_CAPSET, uintptr(unsafe.Pointer(&caps.hdr)), uintptr(unsafe.Pointer(&caps.data[0])), 0); err1 != 0 {
    			goto childerror
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top