Enum login_cap::LoginFlags [−][src]
#[repr(u32)] pub enum LoginFlags { SetEnv, SetGroup, SetLogin, SetPath, SetPriority, SetResources, SetUmask, SetUser, SetAll, }
Expand description
Login flag constants that can be bitwise OR-ed together
Variants
Sets environment variables set by the setenv keyword
Set the group ID and call initgroups(3)
Requires the pwd
field in setusercontext
to be set
Sets the login name by setlogin(2)
Requires the pwd
field in setusercontext
to be set
Sets the PATH
environment variable
Sets the priority by setpriority(2)
Sets the various system resources by setrlimit(2)
Sets the umask by umask(2)
Sets the user ID to uid
by setuid(2)
Sets all of the above
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for LoginFlags
impl Send for LoginFlags
impl Sync for LoginFlags
impl Unpin for LoginFlags
impl UnwindSafe for LoginFlags