similar to: [PATCH 3/3] COM32/stat(): preset ret and move zeroing errno

Displaying 20 results from an estimated 1000 matches similar to: "[PATCH 3/3] COM32/stat(): preset ret and move zeroing errno"

2009 Mar 05
1
[PATCH 4/5] COM32: add trivial stat() function
From: Gene Cumm <gene.cumm at gmail.com> COM32: add trivial stat() function; uses open(), fstat() then close() or opendir(), closedir(). Signed-off-by: Gene Cumm <gene.cumm at gmail.com> --- Not the most elegant thing in the world but it's been working for me. diff --git a/com32/include/sys/stat.h b/com32/include/sys/stat.h index ffc4105..2a06a68 100644 ---
2003 Feb 08
1
compare st_mode & 07777, or Aix dirs always differ
Under Aix directories have the mode 024xxxx instead of the customary 04xxxx. Because of this when you sync a directory to or from an Aix system it's never up to date. Here is a patch which fixes this. It causes rsync to look at only the bits that chmod actually influences, 07777, when deciding whether or not the modes differ. I was surprised there wasn't an existing constant for 07777,
2014 Jun 12
2
[PATCH] fuse: UID 0 should override all permissions checks (RHBZ#1106548).
Previously if you were root, and you tried to change directory into a directory which was not owned by you and not readable (eg. 0700 bin:bin), it would fail. This doesn't fail on regular directories because when you are root the kernel just ignores permissions. Although libguestfs in general tries not to duplicate kernel code, in the case where we emulate the FUSE access(2) system call,
2001 Jun 18
2
Patch for changing expired passwords
The primary purpose of the attached patches is for portable OpenSSH to support changing expired passwords as specified in shadow password files. To support that, I did a couple enhancements to the base OpenBSD OpenSSH code. They are: 1. Consolidated the handling of "forced_command" into a do_exec() function in session.c. These were being handled inconsistently and allocated
2005 Apr 18
1
error msg using testparm
hi, I'm new to Samba. I use Suse linux 9.1pro & kde on a small network with Samba 3.0.9. I tried the testparm from the Official Samba -3 howto. Unfortunately the book, etc. does not address the error msg given, follows. Can somebody help? scn@scn:~> testparm -s -v | egrep "(lp|print|spool|driver|ports|\[)" Load smb config files from /etc/samba/smb.conf Processing section
2010 Jun 21
0
would like more detail when /tmp directory is missing. patch for linux/syslinux.c
Our linux distribution at my job didn't include a /tmp directory. When ever I tried to use syslinux, I would get the following error: ./syslinux: No such file or directory I modified the code to report this: ./syslinux: Cannot access the /tmp/ directory. This would have helped me a lot rather than having to download the source and run it through the debugger to figure out that my /tmp/
2000 Mar 31
0
[PATCH] empty shell in /etc/passwd
The Linux/Unix-port of OpenSSH-1.2.3 in sshd.c:allowed_user() denies Login to users with an empty shell-field in /etc/passwd. According to the docs this is wrong and an empty shell-field should default to /bin/sh. I'm sure that this is what was intended, because code and comment get it right in sshd.c:do_child(): * Get the shell from the password data. An empty shell field is
2000 Mar 31
1
[PATCH] Correction empty shell-field patch
Sorry - my previous patch was bad. Here is the corrected one. Cheers, Theo -------------- next part -------------- diff -Naur openssh-1.2.3-dist/sshd.c openssh-1.2.3/sshd.c --- openssh-1.2.3-dist/sshd.c Fri Mar 31 23:04:10 2000 +++ openssh-1.2.3/sshd.c Fri Mar 31 23:24:21 2000 @@ -1121,6 +1121,7 @@ struct stat st; struct group *grp; int i; + char*shell; #ifdef WITH_AIXAUTHENTICATE char
2000 Apr 15
0
patch in user validation code
I was encountering a strange message about "faked authloop for illegal user". It turned out the allowed_user function was disallowing passwd entries with a blank shell field, which is supposed to be equivalent to "/bin/sh". This patch is based on OpenSSH 1.2.3, and I have tested it on Slackware 7.0. --- sshd.old Wed Apr 12 23:47:04 2000 +++ sshd.c Thu Apr 13 00:35:54 2000
2019 Jan 25
0
[klibc:update-dash] [BUILTIN] Fix "test -x" as root on FreeBSD 8
Commit-ID: aa5f2856e82ac8e625729beb93b52e6868901507 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=aa5f2856e82ac8e625729beb93b52e6868901507 Author: Jonathan Nieder <jrnieder at gmail.com> AuthorDate: Tue, 27 Sep 2011 18:19:06 -0500 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 25 Jan 2019 02:57:21 +0000 [klibc] [BUILTIN] Fix "test
2020 Mar 28
0
[klibc:update-dash] dash: [BUILTIN] Fix "test -x" as root on FreeBSD 8
Commit-ID: 8f7f6479f4dc1c65f9574eb0596d50bae13b9ba9 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8f7f6479f4dc1c65f9574eb0596d50bae13b9ba9 Author: Jonathan Nieder <jrnieder at gmail.com> AuthorDate: Tue, 27 Sep 2011 18:19:06 -0500 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 28 Mar 2020 21:42:54 +0000 [klibc] dash: [BUILTIN] Fix
2009 May 29
1
[PATCH v2] klibc-utils: add simple ls
Simple utility to list information about a files. The utility which does the same thing as "ls -la". This is a useful test program. Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com> --- usr/utils/Kbuild | 4 +- usr/utils/ls.c | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 205 insertions(+), 1 deletions(-) create mode 100644
2009 May 28
1
[PATCH] klibc-utils: add minils
Simple utility to list information about a files. The utility which does the same thing as "ls -la". This is a useful test program. Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com> --- usr/utils/Kbuild | 4 +- usr/utils/minils.c | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 201 insertions(+), 1 deletions(-) create mode 100644
2004 Feb 20
1
ocfs hung
having a problem with ocfs. device /dev/sdd mounted on 2 nodes, node 0 and node 1 tried to create file /u01/oracle/prod/proddata/temp01.dbf from node 1 (ALTER TABLESPACE TEMP ADD TEMPFILE...) caused oracle server process to hang in a "D" state apparently trying to create the file. the file has not been created yet. If I type "ls" from node 2 in directory /u01/oracle/prod
2020 Mar 28
0
[klibc:update-dash] dash: builtin: Use test_access from NetBSD when faccessat is unavailable
Commit-ID: 5c8d9d4456c47d03d6a71db78488f208a9f8b084 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=5c8d9d4456c47d03d6a71db78488f208a9f8b084 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
2020 Sep 25
0
[RFC PATCH 01/19] tools/virtiofsd: add support for --socket-group
If you like running QEMU as a normal user (very common for TCG runs) but you have to run virtiofsd as a root user you run into connection problems. Adding support for an optional --socket-group allows the users to keep using the command line. Signed-off-by: Alex Benn?e <alex.bennee at linaro.org> Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com> --- v1 - tweak documentation and
2004 Sep 25
1
[LLVMdev] Code to be moved to the specific platform in lib/System?
Hi I'm compiling: llvm/lib/Support/SystemUtils.cpp on MinGW. However, it stops complaining about these errors: -------------------------- C:/MinGW/msys/local/src/llvm/lib/Support/SystemUtils.cpp: In function `bool llvm::isExecutableFile(const std::string&)': C:/MinGW/msys/local/src/llvm/lib/Support/SystemUtils.cpp:44: error: `getuid' undeclared (first use this function)
2005 Jan 20
0
AllowUsers - proposal for useful variations on the theme
A short while ago, I looked at using the AllowUsers configuration option in openssh (v3.8p1 , but I believe this to be unchanged in 3.9p1) to restrict access such that only specific remote machines could access specific local accounts. I swiftly discovered that a) specifying wildcarded IP numbers to try to allow a useful IP range was pointless: if I specified AllowUsers joe at
2017 Jul 11
1
Problems with time formats when importing data using readHTMLTable
Dear David, Thank you very much. You have solved my problem, not of importing in the right format but the date conversion. It works for me, and if I specify the timezone tz='GMT', I get exactly the same time of the webpage. Sincerely yours, Cristina On Tue, 11 Jul 2017 07:15:43 -0700, David Winsemius wrote: >> On Jul 11, 2017, at 6:25 AM, Cristina Silva <csilva at
2017 Jul 11
0
Problems with time formats when importing data using readHTMLTable
> On Jul 11, 2017, at 6:25 AM, Cristina Silva <csilva at ipma.pt> wrote: > > Dear Jeff, > > I am sorry, I didn't notice that it was not plain text. I hope that it is now in the correct format. I explain the problem again, now with more detais. > I am collecting the track positions of our research vessel from www.marinetraffic.com. In the page, the data appear in a