freebsd-skq/usr.bin/su
sobomax 1d06416b30 Ignore SIGSYS when BSM is compiled in. Otherwise, attempt to invoke su on
system that don't have audit framefork compiled into kernel or ia32 binary
on amd64 system will result in SIGSYS. There is one place in su.c itself
where it tries to check for errno != ENOSYS, but it has been a nop since su
does not catch SIGSYS anyway. There are few other places in libbsm,
where attempt to invoke audit syscal would result in SIGSYS if no audit
support is present in the kernel, so that the only reliable method for
now is to disable SIGSYS completely in the case when BSM is compiled in.

In the long run, both direct invocation of audit-related syscalls and
libbsm should be made more intellegent to handle the case when BSM is not
compiled into the kernel gracefully.

MFC after: 3 days
           (provided re@ approval)
2006-10-24 08:18:10 +00:00
..
Makefile Integrate audit_submit(3) bits into su. This means that records for 2006-09-01 13:39:02 +00:00
su.1 Markup fixes. 2006-09-29 15:20:48 +00:00
su.c Ignore SIGSYS when BSM is compiled in. Otherwise, attempt to invoke su on 2006-10-24 08:18:10 +00:00