Home
last modified time | relevance | path

Searched refs:setGID (Results 1 – 5 of 5) sorted by relevance

/external/libcap/goapps/setid/
Dsetid.go33 func setIDsWithCaps(setUID, setGID int, gids []int) {
34 if err := cap.SetGroups(setGID, gids...); err != nil {
48 setGID := *gid
50 setGID = syscall.Getegid()
58 setIDsWithCaps(setUID, setGID, gids)
60 if _, _, err := psx.Syscall3(syscall.SYS_SETGID, uintptr(setGID), 0, 0); err != 0 {
61 log.Fatalf("failed to setgid(%d): %v", setGID, err)
64 gids32 := []int32{int32(setGID)}
69 log.Fatalf("failed to setgroups(%d, %v): %v", setGID, gids32, err)
83 showIDs("after", true, setUID, setGID)
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/cpio/
DCpioArchiveInputStream.java381 ret.setGID(readAsciiLong(8, 16)); in readNewEntry()
413 ret.setGID(readAsciiLong(6, 8)); in readOldAsciiEntry()
441 ret.setGID(readBinaryLong(2, swapHalfWord)); in readOldBinaryEntry()
DCpioArchiveEntry.java780 public void setGID(final long gid) { in setGID() method in CpioArchiveEntry
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DX7875_NewUnixTest.java206 xf.setGID(12345); in parseReparse()
212 xf.setGID(gid); in parseReparse()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DX7875_NewUnix.java123 public void setGID(final long l) { in setGID() method in X7875_NewUnix