Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65176 Details for
Bug 101433
"access" system call can cause access violation
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sandbox-bug101433.patch
sandbox-bug101433.patch (text/plain), 1.38 KB, created by
Martin Schlemmer (RETIRED)
on 2005-08-05 06:31:32 UTC
(
hide
)
Description:
sandbox-bug101433.patch
Filename:
MIME Type:
Creator:
Martin Schlemmer (RETIRED)
Created:
2005-08-05 06:31:32 UTC
Size:
1.38 KB
patch
obsolete
>Index: ChangeLog >=================================================================== >--- ChangeLog (revision 155) >+++ ChangeLog (working copy) >@@ -2,6 +2,12 @@ > # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 > # $Header$ > >+ 05 Aug 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: >+ >+ Do not give an access violation if the access() system call do not have >+ write/read access - it does not actually modify, so we only need to return >+ not being able to write/read. >+ > 01 Aug 2005; Martin Schlemmer <azarah@gentoo.org> libsandbox.c: > > Still do normal log if debugging is requested. >Index: libsandbox.c >=================================================================== >--- libsandbox.c (revision 155) >+++ libsandbox.c (working copy) >@@ -1033,6 +1033,13 @@ > result = 1; > goto out; > } >+ >+ /* If we are here, and still no joy, and its the access() call, >+ * do not log it, but just return -1 */ >+ if (0 == strncmp(func, "access_rd", 7)) { >+ sbcontext->show_access_violation = 0; >+ goto out; >+ } > } > > if ((0 == strncmp(func, "access_wr", 7)) || >@@ -1135,6 +1142,13 @@ > sbcontext->show_access_violation = 0; > goto out; > } >+ >+ /* If we are here, and still no joy, and its the access() call, >+ * do not log it, but just return -1 */ >+ if (0 == strncmp(func, "access_wr", 7)) { >+ sbcontext->show_access_violation = 0; >+ goto out; >+ } > } > > out:
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 101433
:
65172
| 65176