Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F156637853
D41859.id127376.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
464 B
Referenced Files
None
Subscribers
None
D41859.id127376.diff
View Options
diff --git a/sys/kern/subr_syscall.c b/sys/kern/subr_syscall.c
--- a/sys/kern/subr_syscall.c
+++ b/sys/kern/subr_syscall.c
@@ -80,7 +80,7 @@
se = sa->callp;
#ifdef KTRACE
if (KTRPOINT(td, KTR_SYSCALL))
- ktrsyscall(sa->code, se->sy_narg, sa->args);
+ ktrsyscall(sa->code, error != 0 ? 0 : se->sy_narg, sa->args);
#endif
KTR_START4(KTR_SYSC, "syscall", syscallname(p, sa->code),
(uintptr_t)td, "pid:%d", td->td_proc->p_pid, "arg0:%p", sa->args[0],
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 16, 7:22 AM (17 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33121334
Default Alt Text
D41859.id127376.diff (464 B)
Attached To
Mode
D41859: syscall: Allow the sv_fetch_syscall_args to return an uninitialized sysent on error
Attached
Detach File
Event Timeline
Log In to Comment