search for: faccessat

Displaying 20 results from an estimated 134 matches for "faccessat".

2010 Apr 16
0
[PATCH] add minimal faccessat()
Implement as wrapper around sys_faccessat(). Latest dash started using it, also define AT_EACCESS: usr/dash/bltin/test.c: In function ?test_file_access?: usr/dash/bltin/test.c:490: error: too many arguments to function ?faccessat? Signed-off-by: maximilian attems <max at stro.at> --- usr/include/fcntl.h | 5 +++++ usr/includ...
2010 Apr 20
1
proposed faccessat
patch is also available in current patch queue: git pull git://git.debian.org/users/maks/klibc.git maks Run it on latest dash and it could still test readable files as readable.
2010 Apr 16
0
[PATCH] pull faccessat() system call
3-arg faccessat is unfortunately an incomplete implementation. It does not match user-space needs, for example due to wrong answer when egid != gid. dash started to detect klibc faccessat() syscall wrapper. Signed-off-by: maximilian attems <max at stro.at> --- usr/include/unistd.h | 1 - usr/klibc/SY...
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Fix "test -x" as root on FreeBSD 8
...h: If execute permission is requested, access shall be granted if execute permission is granted to at least one user by the file permission bits or by an alternate access control mechanism; otherwise, access shall be denied. For historical reasons, POSIX unfortunately also allows access() and faccessat() to return success for X_OK if the current process is privileged, even when the above condition is not fulfilled and actual execution would fail. On the affected platforms, "test -x <path>" as root started returning true on nonexecutable files when dash switched from its own emula...
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Fix "test -x" as root on FreeBSD 8
...h: If execute permission is requested, access shall be granted if execute permission is granted to at least one user by the file permission bits or by an alternate access control mechanism; otherwise, access shall be denied. For historical reasons, POSIX unfortunately also allows access() and faccessat() to return success for X_OK if the current process is privileged, even when the above condition is not fulfilled and actual execution would fail. On the affected platforms, "test -x <path>" as root started returning true on nonexecutable files when dash switched from its own emula...
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Use test_access from NetBSD when faccessat is unavailable
...d4456c47d03d6a71db78488f208a9f8b084 Author: Herbert Xu <herbert at gondor.apana.org.au> AuthorDate: Sun, 20 May 2018 01:30:49 +0800 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:55 +0000 [klibc] dash: builtin: Use test_access from NetBSD when faccessat is unavailable [ dash commit 03cbaba30d7f6e4f89b6e881b6b909cb45924025 ] This patch adds the test_access code from NetBSD when faccess is unavailable. The code has been modified so that root can always read/write any file. Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au> Signed-o...
2010 Apr 16
0
[git pull v4] dash, sh4, ipconfig, dprintf, fstype, README's
hello hpa, pulled in latest dash containing your jobcontrol patch and fixed faccessat() in klibc on the way. the build of this needs lmkl fix: http://marc.info/?l=linux-kernel&m=127138736217956&w=2 patch queue otherwise similar to previous pull request, please pull: git pull git://git.debian.org/users/maks/klibc.git maks Aleksey Cheusov (1): [klibc] [BUILD] Fixed b...
2013 Nov 12
0
[klibc:master] syscalls: Fixup some of the -at syscall declarations
...ern_inline int mkfifo(const char *__p, mode_t __m) { diff --git a/usr/include/unistd.h b/usr/include/unistd.h index f0e19c2..6c08d4e 100644 --- a/usr/include/unistd.h +++ b/usr/include/unistd.h @@ -61,28 +61,28 @@ __extern int setfsuid(uid_t); __extern int access(const char *, int); __extern int faccessat(int, const char *, int, int); __extern int link(const char *, const char *); -__extern int linkat(int, const char *, int, const char *); +__extern int linkat(int, const char *, int, const char *, int); __extern int unlink(const char *); __extern int unlinkat(int, const char *, int); __extern in...
2010 Apr 21
0
[git pull v5] dash, sh4, ipconfig, dprintf, fstype, README's
hello hpa, disabled faccessat in klibc to go forward with this dash sync, and HAVE_FACCESSAT in dash config.h, no other change. please pull: git pull git://git.debian.org/users/maks/klibc.git maks
2012 Jul 02
0
[klibc:master] dash: sync with latest git
...imilian attems <max at stro.at> AuthorDate: Mon, 2 Jul 2012 10:51:46 +0200 Committer: maximilian attems <max at stro.at> CommitDate: Mon, 2 Jul 2012 11:03:33 +0200 [klibc] dash: sync with latest git Gains us compile and runtime fixes including newer dash >= 0.5.7. For now disable faccessat() as we yet miss AT_EACCESS definition. Signed-off-by: maximilian attems <max at stro.at> --- usr/dash/README.dash | 3 ++- usr/dash/config.h | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/usr/dash/README.dash b/usr/dash/README.dash index dcce478....
2013 Oct 09
0
[PATCH 1/1] Porting klibc to AArch64
...extern_inline int mkfifo(const char *__p, mode_t __m) diff --git a/usr/include/unistd.h b/usr/include/unistd.h index f0e19c2..ff08a40 100644 --- a/usr/include/unistd.h +++ b/usr/include/unistd.h @@ -61,22 +61,22 @@ __extern int setfsuid(uid_t); __extern int access(const char *, int); __extern int faccessat(int, const char *, int, int); __extern int link(const char *, const char *); -__extern int linkat(int, const char *, int, const char *); +__extern int linkat(int, const char *, int, const char *, int); __extern int unlink(const char *); __extern int unlinkat(int, const char *, int); __extern in...
2013 Nov 08
0
[PATCH 2/3] syscalls: Add syscalls needed by arm64
...klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def index 4630d14..c2f36e7 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -106,31 +106,31 @@ int swapoff(const char *); /* * Inode-related system calls */ -int access(const char *, int); +<?> int access(const char *, int); int faccessat(int, const char *, int, int); -int link(const char *, const char *); +<?> int link(const char *, const char *); <?> int linkat(int, const char *, int, const char *, int); -int unlink(const char *); +<?> int unlink(const char *); <?> int unlinkat(int, const char *, int); i...
2013 Nov 12
0
[klibc:master] syscalls: Add syscalls needed by arm64
...klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def index 55d8e36..12f57ac 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -106,34 +106,34 @@ int swapoff(const char *); /* * Inode-related system calls */ -int access(const char *, int); +<?> int access(const char *, int); int faccessat(int, const char *, int, int); -int link(const char *, const char *); +<?> int link(const char *, const char *); <?> int linkat(int, const char *, int, const char *, int); -int unlink(const char *); +<?> int unlink(const char *); <?> int unlinkat(int, const char *, int); i...
2013 Nov 11
5
[PATCH V2 0/3] Introduce arm64 support
Hello, Here is V2 of the arm64 support for klibc patch set. Notable changes since the original series: * fp regs dropped from setjmp/longjmp * chmod, lstat and stat re-implemented with *at functions. * open64 merged into open. As with the original, this series is to be applied against the latest klibc, just after 25a66fa README.klibc: update build information V2 has been tested on x86_64
2013 Nov 08
9
[PATCH 0/3] Introduce arm64 support
Hello, This series introduces arm64 support to klibc. I've rebased the work from Neil Williams and Anil Singhar into the following three patches. Most of the code changes are due to new syscall implementations being needed for arm64 as a only a minimal set of syscalls are defined in the arm64 kernel. This series is to be applied against the latest klibc, just after 25a66fa README.klibc:
2012 May 31
1
klibc 2.0 release
...ry for script file [klibc] include: [sys/socket.h] define SOMAXCONN [klibc] include: [sys/elfcommon.h] define STN_UNDEF [klibc] klcc.1: document -nostdinc [klibc] include: [stdio.h] add clearerr() prototype [klibc] include: [limits.h] define SSIZE_MAX [klibc] Add faccessat() system call [klibc] README update arch status [klibc] kinit: Fix capabilities alternate read/write io without flush [klibc] capabilities: Use fflush() instead of fseek() [klibc] include: [limits.h] define MB_LEN_MAX
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ther chown is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... yes checking whether environ is declared without a macro... yes checking whether euidaccess is declared without a macro... yes checking whether faccessat is declared without a macro... yes checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ther chown is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... yes checking whether environ is declared without a macro... yes checking whether euidaccess is declared without a macro... yes checking whether faccessat is declared without a macro... yes checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ther chown is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... yes checking whether environ is declared without a macro... yes checking whether euidaccess is declared without a macro... yes checking whether faccessat is declared without a macro... yes checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ther chown is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... yes checking whether environ is declared without a macro... yes checking whether euidaccess is declared without a macro... yes checking whether faccessat is declared without a macro... yes checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd...