File tree Expand file tree Collapse file tree 10 files changed +12
-0
lines changed Expand file tree Collapse file tree 10 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1344,6 +1344,7 @@ setgroups
13441344sethostname
13451345setitimer
13461346setpriority
1347+ setproctitle
13471348setprogname
13481349setpwent
13491350setresgid
Original file line number Diff line number Diff line change @@ -1589,6 +1589,7 @@ setgroups
15891589sethostname
15901590setitimer
15911591setpriority
1592+ setproctitle
15921593setprogname
15931594setpwent
15941595setresgid
Original file line number Diff line number Diff line change @@ -1230,6 +1230,7 @@ setgroups
12301230sethostname
12311231setitimer
12321232setpriority
1233+ setproctitle
12331234setprogname
12341235setpwent
12351236setrlimit
Original file line number Diff line number Diff line change @@ -1040,6 +1040,7 @@ setgroups
10401040sethostname
10411041setitimer
10421042setpriority
1043+ setproctitle
10431044setprogname
10441045setpwent
10451046setresgid
Original file line number Diff line number Diff line change @@ -1131,6 +1131,7 @@ extern "C" {
11311131 pub fn sched_getaffinity ( pid : :: pid_t , cpusetsize : :: size_t , mask : * mut cpu_set_t ) -> :: c_int ;
11321132 pub fn sched_setaffinity ( pid : :: pid_t , cpusetsize : :: size_t , mask : * const cpu_set_t )
11331133 -> :: c_int ;
1134+ pub fn setproctitle ( fmt : * const :: c_char , ...) ;
11341135}
11351136
11361137#[ link( name = "rt" ) ]
Original file line number Diff line number Diff line change @@ -228,6 +228,7 @@ extern "C" {
228228
229229 pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
230230 pub fn elf_aux_info ( aux : :: c_int , buf : * mut :: c_void , buflen : :: c_int ) -> :: c_int ;
231+ pub fn setproctitle_fast ( fmt : * const :: c_char , ...) ;
231232}
232233
233234cfg_if ! {
Original file line number Diff line number Diff line change @@ -233,6 +233,7 @@ extern "C" {
233233 pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
234234 pub fn getentropy ( buf : * mut :: c_void , buflen : :: size_t ) -> :: c_int ;
235235 pub fn elf_aux_info ( aux : :: c_int , buf : * mut :: c_void , buflen : :: c_int ) -> :: c_int ;
236+ pub fn setproctitle_fast ( fmt : * const :: c_char , ...) ;
236237}
237238
238239cfg_if ! {
Original file line number Diff line number Diff line change @@ -1579,6 +1579,7 @@ extern "C" {
15791579 ) -> * mut :: c_void ;
15801580
15811581 pub fn nmount ( iov : * mut :: iovec , niov : :: c_uint , flags : :: c_int ) -> :: c_int ;
1582+ pub fn setproctitle ( fmt : * const :: c_char , ...) ;
15821583 pub fn cpuset_getaffinity (
15831584 level : cpulevel_t ,
15841585 which : cpuwhich_t ,
Original file line number Diff line number Diff line change @@ -2113,6 +2113,8 @@ extern "C" {
21132113
21142114 // Added in `NetBSD` 7.0
21152115 pub fn explicit_memset ( b : * mut :: c_void , c : :: c_int , len : :: size_t ) ;
2116+
2117+ pub fn setproctitle ( fmt : * const :: c_char , ...) ;
21162118}
21172119
21182120#[ link( name = "util" ) ]
Original file line number Diff line number Diff line change @@ -1566,6 +1566,8 @@ extern "C" {
15661566
15671567 // Added in `OpenBSD` 5.5
15681568 pub fn explicit_bzero ( s : * mut :: c_void , len : :: size_t ) ;
1569+
1570+ pub fn setproctitle ( fmt : * const :: c_char , ...) ;
15691571}
15701572
15711573cfg_if ! {
You can’t perform that action at this time.
0 commit comments