Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 600598 Details for
Bug 590084
sys-apps/sandbox - ISE: opendir(.) when running systemd test suite
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-libsandbox-libsandbox.c-add-errno-output-for-interna.patch
0001-libsandbox-libsandbox.c-add-errno-output-for-interna.patch (text/plain), 1.01 KB, created by
Sergei Trofimovich (RETIRED)
on 2019-12-25 13:08:11 UTC
(
hide
)
Description:
0001-libsandbox-libsandbox.c-add-errno-output-for-interna.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2019-12-25 13:08:11 UTC
Size:
1.01 KB
patch
obsolete
>From c100143341e74737d828bba36bf774f5b58f7a04 Mon Sep 17 00:00:00 2001 >From: Sergei Trofimovich <slyfox@gentoo.org> >Date: Wed, 25 Dec 2019 11:08:55 +0000 >Subject: [PATCH 1/2] libsandbox/libsandbox.c: add errno output for internal > sandbox violations > >Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> >--- > libsandbox/libsandbox.c | 10 ++++++++-- > 1 file changed, 8 insertions(+), 2 deletions(-) > >diff --git a/libsandbox/libsandbox.c b/libsandbox/libsandbox.c >index 77e9959..0ee92ae 100644 >--- a/libsandbox/libsandbox.c >+++ b/libsandbox/libsandbox.c >@@ -971,8 +971,14 @@ static int check_syscall(sbcontext_t *sbcontext, int sb_nr, const char *func, > return 2; > > /* If we get here, something bad happened */ >- sb_ebort("ISE: %s(%s)\n\tabs_path: %s\n\tres_path: %s\n", >- func, file, absolute_path, resolved_path); >+ sb_ebort("ISE: %s(%s)\n" >+ "\tabs_path: %s\n" >+ "\tres_path: %s\n" >+ "\terrno=%i: %s\n", >+ func, file, >+ absolute_path, >+ resolved_path, >+ errno, strerror(errno)); > } > > bool is_sandbox_on(void) >-- >2.24.1 >
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 590084
: 600598 |
600600
|
642870