Re: [PATCH 23/23] /proc/PID/syscall

From: Roland McGrath
Date: Mon Jul 21 2008 - 04:19:41 EST


> My gut feeling this code needs ptrace_may_access() checks.

That would be fine with me. The nodes are readable only by user, which
seems sufficient to me. But I certainly don't object to the stronger check
there. I didn't put too much thought into /proc/pid/syscall, it's just
there to demonstrate and test the internal task_current_syscall() call.


Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/