HAS...
Has specific system-call support Port, edit sendmail/conf.h
Macros that begin with HAS tell sendmail whether your system supports (has) certain system-library routines or variables. In general, you should need to define or undefine the compile-time macros shown in Table 3-3 only if you are porting sendmail to a new system. In that instance, you should also read sendmail/README for the latest information and pitfalls.
Each of these is turned on or off with an assignment of 1 or 0:
APPENDDEF(`confENVDEF', `-DHASSETSID=1') ← turn on APPENDDEF(`confENVDEF', `-DHASSETSID=0') ← turn off
“Turning on” tells sendmail that
your site has support for this system call
(setsid(2) in this instance).
“Turning off” tells sendmail to
work around the lack of that support. When porting
to a new system, you can test with one of the
preceding confENVDEF
statements and, if
successful, put a permanent porting entry into
sendmail/conf.h.
Table 3-3. HAS... compile-time macros for specific system-call support
Compile-time macro |
System call |
---|---|
|
closefrom(3) |
|
fchmod(2) |
|
fchown(2) |
|
fdwalk(3) |
|
flock(2) |
|
getdtablesize(2) |
|
getusershell(3) |
|
initgroups(3) |
|
lstat(2) |
|
nice(2) |
|
random(3) |
|
rresvport(3) |
|
setreuid(2) |
|
setregid(2) |
|
setresgid(2) |
|
setreuid(2) |
|
setrlimit(2) |
|
setsid(2) |
|
Get sendmail, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.