diff -r 7e2c683157d6 -r 2bb9a036a5f2 components/proftpd/mod_solaris_audit.c --- a/components/proftpd/mod_solaris_audit.c Tue Jun 23 14:51:21 2015 -0700 +++ b/components/proftpd/mod_solaris_audit.c Tue Jul 14 12:09:08 2015 -0700 @@ -1,6 +1,6 @@ /* * ProFTPD - FTP server daemon - * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -280,6 +280,11 @@ pr_log_pri(PR_LOG_ERR, "Auditing privilege initialization failed"); return rval; } + + (void) getppriv(PRIV_INHERITABLE, privset); + priv_addset(privset, PRIV_PROC_AUDIT); + (void) setppriv(PRIV_SET, PRIV_INHERITABLE, privset); + (void) getppriv(PRIV_EFFECTIVE, privset); priv_addset(privset, PRIV_SYS_AUDIT); (void) setppriv(PRIV_SET, PRIV_EFFECTIVE, privset);