From be2ba9ef57cdca2a6b0c18f42e7b5b7da17b9599 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 15 Feb 2009 02:09:39 -0500 Subject: libsandbox: update ENAMETOOLONG comments to match egetcwd() changes Signed-off-by: Mike Frysinger --- libsandbox/wrapper-funcs/mkdirat.c | 3 +-- libsandbox/wrapper-funcs/unlinkat.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'libsandbox') 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; -- cgit v1.2.3-65-gdbad