Bug 3689 - setroctitle not detected if resides in libc
setroctitle not detected if resides in libc
Status: RESOLVED FIXED
Product: Samba 4.0
Classification: Unclassified
Component: Other
unspecified
Other FreeBSD
: P3 normal
: ---
Assigned To: Jelmer Vernooij
Andrew Bartlett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-04-15 23:04 UTC by Timur Bakeyev
Modified: 2006-04-23 10:36 UTC (History)
0 users

See Also:


Attachments
Detection of setproctitle() in libc (926 bytes, patch)
2006-04-15 23:04 UTC, Timur Bakeyev
no flags Details
include setproctitle.h only if it exists (321 bytes, patch)
2006-04-15 23:10 UTC, Timur Bakeyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur Bakeyev 2006-04-15 23:04:04 UTC
For the BSD systems setrpctitle(3) sits in libc and declared in unistd.h. So, there is no need for any additional headers and libraries. Here is a small patch to address this sitiation.
Comment 1 Timur Bakeyev 2006-04-15 23:04:48 UTC
Created attachment 1858 [details]
Detection of setproctitle() in libc
Comment 2 Timur Bakeyev 2006-04-15 23:10:11 UTC
Created attachment 1859 [details]
include  setproctitle.h only if it exists
Comment 3 Jelmer Vernooij 2006-04-23 10:36:53 UTC
Both applied, thanks!