mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
(Processes): Add setgroups.
This commit is contained in:
parent
03034594e0
commit
ef04832454
1 changed files with 10 additions and 0 deletions
|
@ -1365,6 +1365,16 @@ is returned. @code{(provided? 'EIDs)} reports whether the
|
||||||
system supports effective IDs.
|
system supports effective IDs.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
@deffn {Scheme Procedure} setgroups vec
|
||||||
|
@deffnx {C Function} scm_setgroups (vec)
|
||||||
|
Set the current set of supplementary group IDs to the integers in the
|
||||||
|
given vector @var{vec}. The return value is unspecified.
|
||||||
|
|
||||||
|
Generally only the superuser can set the process group IDs
|
||||||
|
(@pxref{Setting Groups, Setting the Group IDs,, libc, The GNU C
|
||||||
|
Library Reference Manual}).
|
||||||
|
@end deffn
|
||||||
|
|
||||||
@deffn {Scheme Procedure} setuid id
|
@deffn {Scheme Procedure} setuid id
|
||||||
@deffnx {C Function} scm_setuid (id)
|
@deffnx {C Function} scm_setuid (id)
|
||||||
Sets both the real and effective user IDs to the integer @var{id}, provided
|
Sets both the real and effective user IDs to the integer @var{id}, provided
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue