Bugzilla – Attachment 1974 Details for
Bug 1402
Support auditing through Linux Audit subsystem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Please add this to "clean up patch some more"
openssh-5.6p1-audit1a.patch (text/plain), 548 bytes, created by
jchadima
on 2010-12-11 17:16:20 AEDT
(
hide
)
Description:
Please add this to "clean up patch some more"
Filename:
MIME Type:
Creator:
jchadima
Created:
2010-12-11 17:16:20 AEDT
Size:
548 bytes
patch
obsolete
>diff -up openssh-5.6p1/audit-linux.c.audit1a openssh-5.6p1/audit-linux.c >--- openssh-5.6p1/audit-linux.c.audit1a 2010-12-10 21:47:03.000000000 +0100 >+++ openssh-5.6p1/audit-linux.c 2010-12-10 21:50:31.000000000 +0100 >@@ -59,7 +59,8 @@ linux_audit_record_event(int uid, const > saved_errno = errno; > close(audit_fd); > errno = saved_errno; >- return (rc >= 0); >+ /* do not report error if the error is EPERM and sshd is run as non root user */ >+ return (rc >= 0) || ((rc == -EPERM) && (getuid() != 0)); > } > > /* Below is the sshd audit API code */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1402
:
1396
|
1930
|
1931
|
1934
|
1939
|
1940
|
1942
|
1943
|
1945
|
1950
|
1951
|
1952
|
1954
|
1974
|
1975
|
1976
|
1981
|
2010
|
2011
|
2012
|
2013
|
2014
|
2015
|
2085
|
2086
|
2087
|
2088
|
2089
|
2090
|
2795