aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libsandbox/wrapper-funcs')
-rw-r--r--libsandbox/wrapper-funcs/mkdirat.c3
-rw-r--r--libsandbox/wrapper-funcs/unlinkat.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/libsandbox/wrapper-funcs/mkdirat.c b/libsandbox/wrapper-funcs/mkdirat.c
index 1788df7..defe569 100644
--- a/libsandbox/wrapper-funcs/mkdirat.c
+++ b/libsandbox/wrapper-funcs/mkdirat.c
@@ -17,8 +17,7 @@ static inline bool sb_mkdirat_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;
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;