Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 32238
Collapse All | Expand All

(-)ChangeLog (-1 / +6 lines)
Lines 2-12 Link Here
2
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
2
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
3
# $Header: /home/cvsroot/gentoo-src/portage/src/sandbox-1.1/ChangeLog,v 1.26 2003/10/14 20:24:39 azarah Exp $
3
# $Header: /home/cvsroot/gentoo-src/portage/src/sandbox-1.1/ChangeLog,v 1.26 2003/10/14 20:24:39 azarah Exp $
4
4
5
  02 Nov 2003; Martin Schlemmer <azarah@gentoo.org> libsandbox.c :
6
  If 'file' passed to before_syscall(const char *func, const char *file) is
7
  invalid, we should set errno to ENOENT, and not EINVAL.  This should
8
  close bug #32238.
9
5
  14 Oct 2003; Martin Schlemmer <azarah@gentoo.org> libsandbox.c :
10
  14 Oct 2003; Martin Schlemmer <azarah@gentoo.org> libsandbox.c :
6
  Fix a bug that occurs mainly on 64bit arch, where the file passed to
11
  Fix a bug that occurs mainly on 64bit arch, where the file passed to
7
  the functions we wrap, is invalid, and then cause canonicalize to pass
12
  the functions we wrap, is invalid, and then cause canonicalize to pass
8
  garbage to before_syscall(), thanks to great detective work from
13
  garbage to before_syscall(), thanks to great detective work from
9
  Andrea Luzzardi <al@sig11.org>.
14
  Andrea Luzzardi <al@sig11.org> (bug #29846).
10
15
11
  13 Oct 2003; Martin Schlemmer <azarah@gentoo.org> create-localdecls :
16
  13 Oct 2003; Martin Schlemmer <azarah@gentoo.org> create-localdecls :
12
  Add a uClibc detection patch from Peter S. Mazinger <ps.m@gmx.net>.
17
  Add a uClibc detection patch from Peter S. Mazinger <ps.m@gmx.net>.
(-)libsandbox.c (-1 / +2 lines)
Lines 1286-1292 before_syscall(const char *func, const c Link Here
1286
	sbcontext_t sbcontext;
1286
	sbcontext_t sbcontext;
1287
1287
1288
	if (!strlen(file)) {
1288
	if (!strlen(file)) {
1289
		errno = EINVAL;
1289
                /* The file/directory does not exist */
1290
		errno = ENOENT;
1290
		return 0;
1291
		return 0;
1291
	}
1292
	}
1292
1293

Return to bug 32238