Skip to content

Commit

Permalink
bsd: add setlogin
Browse files Browse the repository at this point in the history
  • Loading branch information
valpackett committed May 7, 2023
1 parent 6c00b37 commit c461e30
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/dragonfly.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1490,6 +1490,7 @@ setgroups
sethostid
sethostname
setitimer
setlogin
setpriority
setproctitle
setprogname
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/freebsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2134,6 +2134,7 @@ setgroups
sethostid
sethostname
setitimer
setlogin
setpriority
setproctitle
setprogname
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/netbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1491,6 +1491,7 @@ setgroups
sethostid
sethostname
setitimer
setlogin
setpriority
setproctitle
setprogname
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/openbsd.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,7 @@ setgroups
sethostid
sethostname
setitimer
setlogin
setpriority
setproctitle
setprogname
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ extern "C" {
pub fn getifaddrs(ifap: *mut *mut ::ifaddrs) -> ::c_int;
pub fn freeifaddrs(ifa: *mut ::ifaddrs);
pub fn setgroups(ngroups: ::c_int, ptr: *const ::gid_t) -> ::c_int;
pub fn setlogin(name: *const ::c_char) -> ::c_int;
pub fn ioctl(fd: ::c_int, request: ::c_ulong, ...) -> ::c_int;
pub fn kqueue() -> ::c_int;
pub fn unmount(target: *const ::c_char, arg: ::c_int) -> ::c_int;
Expand Down

0 comments on commit c461e30

Please sign in to comment.