path: root/sys/sys
diff options
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-10-24 08:18:10 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-10-24 08:18:10 +0000
commita88ab4862463555e0467def1ccde65b386fa8e29 (patch)
treea3886e5b8398101900000ec65513da69065c55b5 /sys/sys
parenta4ae1f89994b2f5eba4625fea1d9014ea8c4a41c (diff)
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)
Notes: svn path=/head/; revision=163641
Diffstat (limited to 'sys/sys')
0 files changed, 0 insertions, 0 deletions