similar to: [PATCH] include: [sys/file.h] define flock(2) there

Displaying 20 results from an estimated 4000 matches similar to: "[PATCH] include: [sys/file.h] define flock(2) there"

2011 Dec 04
0
[GIT PULL] klibc minor fixes
Hello hpa, please pull from my debian klibc tree to kernel.org for minor fixes, that piled up after kernel.org shutdown, inluding a build fix against current linux 3.1. git pull git://anonscm.debian.org/users/maks/klibc.git scripts/basic/fixdep.c | 27 +++++++++++++-------------- usr/include/limits.h | 2 ++ usr/include/sys/file.h | 9 +++++++++ usr/include/sys/types.h |
2008 Jan 25
1
Windows share modes and Linux file locking, flock & fcntl
Hi, I am trying to understand file locking and share modes. I am using RedHat Enterprise Linux 4, with kernel 2.6.9-55.ELsmp, samba-3.0.10-1.4E.11 and Windows XP. In particular I am looking at a machine running Linux exporting its local filesystem using Samba, with a Windows client accessing the file share. If I use byte range locking (fcntl() on Linux, LockFile() on Windows) things work as
2011 Aug 29
0
[PATCH] include: [sys/socket.h] Fix bind and connect attributes
Noticed while compiling some util-linux stuff: gen_uuid.c:507:21: warning: passing argument 2 of 'connect' discards 'const' qualifier from pointer target type [enabled by default] /usr/lib/klibc/include/sys/socket.h:248:14: note: expected 'struct sockaddr *' but argument is of type 'const struct sockaddr *' Signed-off-by: maximilian attems <max at stro.at>
2012 Oct 01
0
[klibc:master] include: [sys/time.h] fix for Linux 3.5.1
Commit-ID: 0dbcedacde2847e254373fce6f80c63e003a69ca Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=0dbcedacde2847e254373fce6f80c63e003a69ca Author: Colin Watson <cjwatson at ubuntu.com> AuthorDate: Tue, 25 Sep 2012 12:31:16 +0100 Committer: maximilian attems <max at stro.at> CommitDate: Mon, 1 Oct 2012 15:04:49 +0200 [klibc] include: [sys/time.h] fix for
2011 Aug 08
0
[PATCH] include: [sys/ioctl.h] needs linux/sockios.h
The defines of SIOCGIFCONF and SIOCSIFFLAGS are well hidden in linux-2.6 under #ifdef __KERNEL__ sections for example in linux/socket.h. Fixes these in kexec-tools against klibc: | kexec/ifdown.c:46:16: error: 'SIOCGIFCONF' undeclared (first use in this function) | kexec/ifdown.c:46:16: note: each undeclared identifier is reported only once for each function it appears in |
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/include/unistd.h | 2 +- usr/klibc/Kbuild | 2 +-
2007 Sep 03
2
[git patch] minor fixes
hello hpa, have been sitting too long on them, nothing exciting, please pull: git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks with the following shortlog: maximilian attems (8): [klibc] grp.h: Add declaration of getgrgid(), getgrnam() [klibc] getgrgid, getgrnam include grp.h [klibc] getpwnam, getpwuid include pwd.h [klibc] ctype.h declare char classification
2012 May 22
0
[klibc:master] include: [sys/socket.h] define SOMAXCONN
Commit-ID: 5576c967f86387f8a2eeeaa58d67f3cc6b51853a Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=5576c967f86387f8a2eeeaa58d67f3cc6b51853a Author: maximilian attems <max at stro.at> AuthorDate: Tue, 22 May 2012 17:25:46 +0200 Committer: maximilian attems <max at stro.at> CommitDate: Tue, 22 May 2012 17:30:09 +0200 [klibc] include: [sys/socket.h] define
2012 May 22
0
[klibc:master] include: [sys/elfcommon.h] define STN_UNDEF
Commit-ID: 01b7dde0664ef67eada14dc163d015eb603fda74 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=01b7dde0664ef67eada14dc163d015eb603fda74 Author: maximilian attems <max at stro.at> AuthorDate: Tue, 22 May 2012 19:15:44 +0200 Committer: maximilian attems <max at stro.at> CommitDate: Tue, 22 May 2012 19:15:44 +0200 [klibc] include: [sys/elfcommon.h] define
2019 Jan 21
0
[klibc:master] fcntl: Fix struct flock for 32-bit architectures
Commit-ID: 11bd4ea5f3d960c4d208180deae91d88aa940149 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=11bd4ea5f3d960c4d208180deae91d88aa940149 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Mon, 21 Jan 2019 03:39:34 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Mon, 21 Jan 2019 03:45:04 +0000 [klibc] fcntl: Fix struct flock
2011 Aug 29
0
[PATCH] Add mempcpy() as wrapper around memcpy
Newer udev versions asks for it: libudev/libudev-util.c:168:12: warning: incompatible implicit declaration of built-in function 'mempcpy' [enabled by default] Signed-off-by: maximilian attems <max at stro.at> --- usr/include/string.h | 1 + usr/klibc/Kbuild | 2 +- usr/klibc/mempcpy.c | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletions(-) create mode 100644
2003 Apr 05
1
flock a file in a NT server
Hi, I'm writing an application with C under Linux and I'm trying to use the flock system function to lock a file of an NT4 Server over Samba. The problem is that the lock works well within the same machine but if it is a process on another machine (the same program) the one that tries to access the locked file, the process is not blocked until the lock is released but given full access
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
hello hpa, please pull for the latest git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks with the following shortlog: maximilian attems (9): mount: add nodev, noexec and nosuid options mount: add -n option cpio: small cleanups readlink: s/link/link_name/ kinit, mknod: s/(major|minor)/\1_num/ klibc: strcspn, strpbrk, strspn include string.h
2020 Jul 01
0
Issues with FLOCK on NFS Share
> Howdy! > > Am 6/30/20 um 2:37 PM schrieb Georg.Biberger--- via samba: >> We are using Samba 4.10.16 as a readonly file server on a linux box with SLES 12. All is working fine with our NAS NFS Shares. We are now trying to integrate new NFS Shares from an archive provider. We have some problems with samba not responding, when accessing files on these archive NFS shares. >> We
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
[ gsi.de pretends this is massmailing so removed from CC's ] hello hpa, please review and on ack merge belows patchset. changes from v1, thanks to review by kzak: * add strtok_r() * use it in getmntent_r() * getment_r() parses mnt_freq and mnt_passno too isn't that hard. thanks maks git pull git://git.debian.org/~maks/klibc.git maks for the changes: maximilian attems (9):
2012 May 22
0
[klibc:master] include: [stdio.h] add clearerr() prototype
Commit-ID: bf526ecf1bb5c36c7f86464ed33dde836c2d8c04 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=bf526ecf1bb5c36c7f86464ed33dde836c2d8c04 Author: maximilian attems <max at stro.at> AuthorDate: Tue, 22 May 2012 22:04:05 +0200 Committer: maximilian attems <max at stro.at> CommitDate: Tue, 22 May 2012 22:04:05 +0200 [klibc] include: [stdio.h] add clearerr()
2011 Aug 10
1
[PATCH v2] dirent.h add fdopendir()
Initial implemenation with quick test. Signed-off-by: maximilian attems <max at stro.at> --- v2: seperate file. usr/include/dirent.h | 1 + usr/klibc/Kbuild | 3 ++- usr/klibc/fdopendir.c | 40 ++++++++++++++++++++++++++++++++++++++++ usr/klibc/tests/Kbuild | 1 + usr/klibc/tests/fdopendir.c | 31 +++++++++++++++++++++++++++++++ 5 files changed,
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
hello hpa, here my birthday submission :) please pull: git pull git://git.debian.org/users/maks/klibc.git maks Sam fixed a longstanding x86_32 build bug, thus it seems a good time to flush the queue of the piled up patches, the shortlog tells it: Aurelien Jarno (1): [klibc] sh4: syscalls fixes Benjamin Cama (1): [klibc] fstype: btrfs size endianness fix Mike Waychison (2):
2007 Sep 13
0
flock() vs. fnctl()
Hi list, as I know from the README in the source files OCFS2 does not support cluster aware flock. Our web developers have to use the php flock() function. There is a second method how php can handle locking - via the fnctl() function. Will this be supportet? I assume that OCFS2 supports the c-function open() mit O_CREATE as well as O_EXCL. Am I right? Regards, Stephan
2007 Mar 15
2
flock problems with index files and passwd-file
While experimenting a bit, I found that for some reason, locking indexes with flock is problematic, but only if user is taken from passwd-file. The host system is openbsd 3.9, dovecot's configuration is added at the bottom. Authentication is from two places - first from mentioned passwd-file, then from passwd file using bsdauth (in this case, there're no problems with flock). So, if