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
1344
1344
sethostname
1345
1345
setitimer
1346
1346
setpriority
1347
+ setproctitle
1347
1348
setprogname
1348
1349
setpwent
1349
1350
setresgid
Original file line number Diff line number Diff line change @@ -1589,6 +1589,7 @@ setgroups
1589
1589
sethostname
1590
1590
setitimer
1591
1591
setpriority
1592
+ setproctitle
1592
1593
setprogname
1593
1594
setpwent
1594
1595
setresgid
Original file line number Diff line number Diff line change @@ -1230,6 +1230,7 @@ setgroups
1230
1230
sethostname
1231
1231
setitimer
1232
1232
setpriority
1233
+ setproctitle
1233
1234
setprogname
1234
1235
setpwent
1235
1236
setrlimit
Original file line number Diff line number Diff line change @@ -1040,6 +1040,7 @@ setgroups
1040
1040
sethostname
1041
1041
setitimer
1042
1042
setpriority
1043
+ setproctitle
1043
1044
setprogname
1044
1045
setpwent
1045
1046
setresgid
Original file line number Diff line number Diff line change @@ -1131,6 +1131,7 @@ extern "C" {
1131
1131
pub fn sched_getaffinity ( pid : :: pid_t , cpusetsize : :: size_t , mask : * mut cpu_set_t ) -> :: c_int ;
1132
1132
pub fn sched_setaffinity ( pid : :: pid_t , cpusetsize : :: size_t , mask : * const cpu_set_t )
1133
1133
-> :: c_int ;
1134
+ pub fn setproctitle ( fmt : * const :: c_char , ...) ;
1134
1135
}
1135
1136
1136
1137
#[ link( name = "rt" ) ]
Original file line number Diff line number Diff line change @@ -228,6 +228,7 @@ extern "C" {
228
228
229
229
pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
230
230
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 , ...) ;
231
232
}
232
233
233
234
cfg_if ! {
Original file line number Diff line number Diff line change @@ -233,6 +233,7 @@ extern "C" {
233
233
pub fn getrandom ( buf : * mut :: c_void , buflen : :: size_t , flags : :: c_uint ) -> :: ssize_t ;
234
234
pub fn getentropy ( buf : * mut :: c_void , buflen : :: size_t ) -> :: c_int ;
235
235
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 , ...) ;
236
237
}
237
238
238
239
cfg_if ! {
Original file line number Diff line number Diff line change @@ -1579,6 +1579,7 @@ extern "C" {
1579
1579
) -> * mut :: c_void ;
1580
1580
1581
1581
pub fn nmount ( iov : * mut :: iovec , niov : :: c_uint , flags : :: c_int ) -> :: c_int ;
1582
+ pub fn setproctitle ( fmt : * const :: c_char , ...) ;
1582
1583
pub fn cpuset_getaffinity (
1583
1584
level : cpulevel_t ,
1584
1585
which : cpuwhich_t ,
Original file line number Diff line number Diff line change @@ -2113,6 +2113,8 @@ extern "C" {
2113
2113
2114
2114
// Added in `NetBSD` 7.0
2115
2115
pub fn explicit_memset ( b : * mut :: c_void , c : :: c_int , len : :: size_t ) ;
2116
+
2117
+ pub fn setproctitle ( fmt : * const :: c_char , ...) ;
2116
2118
}
2117
2119
2118
2120
#[ link( name = "util" ) ]
Original file line number Diff line number Diff line change @@ -1566,6 +1566,8 @@ extern "C" {
1566
1566
1567
1567
// Added in `OpenBSD` 5.5
1568
1568
pub fn explicit_bzero ( s : * mut :: c_void , len : :: size_t ) ;
1569
+
1570
+ pub fn setproctitle ( fmt : * const :: c_char , ...) ;
1569
1571
}
1570
1572
1571
1573
cfg_if ! {
You can’t perform that action at this time.
0 commit comments