Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F62354501
ktrace exec CAPFAIL_VFS
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
jfree
Jun 5 2023, 3:08 PM
2023-06-05 15:08:13 (UTC+0)
Size
729 B
Referenced Files
None
Subscribers
None
ktrace exec CAPFAIL_VFS
View Options
interpret:
if (args->fname != NULL) {
#ifdef CAPABILITY_MODE
+#ifdef KTRACE
+ /* XXXJF ONLY CHECK AFTER FIRST EXEC */
+ if (CAP_TRACING(td))
+ ktrcapfail(CAPFAIL_VFS, NULL, NULL);
+#endif
/*
* While capability mode can't reach this point via direct
* path arguments to execve(), we also don't allow
* interpreters to be used in capability mode (for now).
* Catch indirect lookups and return a permissions error.
*/
if (IN_CAPABILITY_MODE(td)) {
error = ECAPMODE;
goto exec_fail;
}
#endif
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5971155
Default Alt Text
ktrace exec CAPFAIL_VFS (729 B)
Attached To
Mode
P574 ktrace exec CAPFAIL_VFS
Attached
Detach File
Event Timeline
Log In to Comment