Home
last modified time | relevance | path

Searched refs:Gid (Results 1 - 12 of 12) sorted by relevance

/third_party/rust/crates/rustix/src/process/
H A Did.rs5 //! The `Uid`, `Gid`, and `Pid` types can be constructed from raw integers,
34 pub struct Gid(RawGid); structure names
78 impl Gid { impls
79 /// A `Gid` corresponding to the root group (gid 0).
82 /// Converts a `RawGid` into a `Gid`.
92 /// Converts a `Gid` into a `RawGid`.
224 pub fn getgid() -> Gid { in getgid()
238 pub fn getegid() -> Gid { in getegid()
313 pub(crate) fn translate_fchown_args(owner: Option<Uid>, group: Option<Gid>) -> (u32, u32) {
H A Dmod.rs46 getegid, geteuid, getgid, getpgid, getpgrp, getpid, getppid, getuid, setsid, Gid, Pid, RawGid,
/third_party/rust/crates/nix/src/
H A Dunistd.rs130 pub struct Gid(gid_t); structure names
132 impl Gid { impls
133 /// Creates `Gid` from raw `gid_t`.
135 Gid(gid)
138 /// Returns Gid of calling process. This is practically a more Rusty alias for `getgid`.
144 /// Returns effective Gid of calling process. This is practically a more Rusty alias for `getegid`.
156 impl From<Gid> for gid_t {
157 fn from(gid: Gid) -> Self { in from()
162 impl From<gid_t> for Gid {
164 Gid(gi in from()
[all...]
/third_party/rust/crates/nix/test/sys/
H A Dtest_sockopt.rs15 unistd::{Gid, Uid}, in test_local_peercred_seqpacket()
28 assert_eq!(Gid::from_raw(xucred.groups()[0]), Gid::current()); in test_local_peercred_seqpacket()
41 unistd::{Gid, Uid}, in test_local_peercred_stream()
54 assert_eq!(Gid::from_raw(xucred.groups()[0]), Gid::current()); in test_local_peercred_stream()
/third_party/rust/crates/rustix/src/fs/
H A Dfd.rs7 use crate::process::{Gid, Uid};
140 pub fn fchown<Fd: AsFd>(fd: Fd, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> { in fchown()
H A Dat.rs21 use crate::process::{Gid, Uid};
382 group: Option<Gid>, in chownat()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
H A DTarWriter.cpp39 char Gid[8]; member
/third_party/rust/crates/rustix/src/backend/libc/process/
H A Dsyscalls.rs38 crate::process::{Gid, Pid, RawNonZeroPid, RawPid, Signal, Uid, WaitOptions, WaitStatus},
112 pub(crate) fn getgid() -> Gid {
115 Gid::from_raw(gid)
122 pub(crate) fn getegid() -> Gid {
125 Gid::from_raw(gid)
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
H A Dsyscalls.rs19 Cpuid, Gid, MembarrierCommand, MembarrierQuery, Pid, RawNonZeroPid, RawPid, Resource, Rlimit,
135 pub(crate) fn getgid() -> Gid {
140 Gid::from_raw(gid as u32)
145 Gid::from_raw(gid as u32)
150 pub(crate) fn getegid() -> Gid {
155 Gid::from_raw(gid as u32)
160 Gid::from_raw(gid as u32)
/third_party/rust/crates/nix/test/
H A Dtest_unistd.rs253 let groups = [Gid::from_raw(123), Gid::from_raw(456)]; in test_setgroups()
289 let group = Gid::from_raw(123); in test_initgroups()
/third_party/rust/crates/rustix/src/backend/libc/fs/
H A Dsyscalls.rs129 use crate::process::{Gid, Uid};
738 group: Option<Gid>,
934 pub(crate) fn fchown(fd: BorrowedFd<'_>, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> {
946 pub(crate) fn fchown(fd: BorrowedFd<'_>, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> {
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
H A Dsyscalls.rs32 use crate::process::{Gid, Uid};
153 group: Option<Gid>,
170 pub(crate) fn fchown(fd: BorrowedFd<'_>, owner: Option<Uid>, group: Option<Gid>) -> io::Result<()> {

Completed in 11 milliseconds