aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-15 02:09:39 -0500
committerMike Frysinger <vapier@gentoo.org>2009-02-15 02:09:39 -0500
commitbe2ba9ef57cdca2a6b0c18f42e7b5b7da17b9599 (patch)
tree8f4f8a2605f2d596cacb9efe4c94318c78eb025e /libsandbox/wrapper-funcs/unlinkat.c
parentlibsandbox: convert more code to stdbool to simplify things (diff)
downloadsandbox-be2ba9ef57cdca2a6b0c18f42e7b5b7da17b9599.tar.gz
sandbox-be2ba9ef57cdca2a6b0c18f42e7b5b7da17b9599.tar.bz2
sandbox-be2ba9ef57cdca2a6b0c18f42e7b5b7da17b9599.zip
libsandbox: update ENAMETOOLONG comments to match egetcwd() changes
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libsandbox/wrapper-funcs/unlinkat.c')
-rw-r--r--libsandbox/wrapper-funcs/unlinkat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libsandbox/wrapper-funcs/unlinkat.c b/libsandbox/wrapper-funcs/unlinkat.c
index c370920..caf0ab9 100644
--- a/libsandbox/wrapper-funcs/unlinkat.c
+++ b/libsandbox/wrapper-funcs/unlinkat.c
@@ -17,8 +17,7 @@ static inline bool sb_unlinkat_pre_check(WRAPPER_ARGS_PROTO)
save_errno();
if (-1 == canonicalize(pathname, canonic))
- /* Path is too long to canonicalize, do not fail, but just let
- * the real function handle it (see bug #94630 and #21766). */
+ /* see comments in check_syscall() */
if (ENAMETOOLONG != errno)
return false;