Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153185930
D26922.id78671.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
795 B
Referenced Files
None
Subscribers
None
D26922.id78671.diff
View Options
Index: sys/kern/kern_exec.c
===================================================================
--- sys/kern/kern_exec.c
+++ sys/kern/kern_exec.c
@@ -225,6 +225,7 @@
if (error == 0)
error = kern_execve(td, &args, NULL, oldvmspace);
post_execve(td, error, oldvmspace);
+ AUDIT_SYSCALL_EXIT(error == EJUSTRETURN ? 0 : error, td);
return (error);
}
@@ -252,6 +253,7 @@
error = kern_execve(td, &args, NULL, oldvmspace);
}
post_execve(td, error, oldvmspace);
+ AUDIT_SYSCALL_EXIT(error == EJUSTRETURN ? 0 : error, td);
return (error);
}
@@ -280,6 +282,7 @@
if (error == 0)
error = kern_execve(td, &args, uap->mac_p, oldvmspace);
post_execve(td, error, oldvmspace);
+ AUDIT_SYSCALL_EXIT(error == EJUSTRETURN ? 0 : error, td);
return (error);
#else
return (ENOSYS);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Apr 20, 4:33 PM (33 m, 11 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31850996
Default Alt Text
D26922.id78671.diff (795 B)
Attached To
Mode
D26922: audit: correct reporting of *execve(2) errors
Attached
Detach File
Event Timeline
Log In to Comment