similar to: [PATCH] select.h and extern define

Displaying 20 results from an estimated 9000 matches similar to: "[PATCH] select.h and extern define"

2005 Mar 02
1
[PATCH] signal.h
This patch does two things. This test program results (on i386) in an error about _NSIG: #include <signal.h> #if defined (SIGRTMAX) int rtmax = SIGRTMAX; #endif The cause is that the kernel signal.h defines SIGRTMAX as _NSIG, then makes _NSIG invisibelby hiding it inside ifdef __KERNEL__. Perhaps it's more elegant to solve this in the kernel, but the ramifications of that scare
2005 Mar 02
0
[PATCH] sys/times.h
This patch addresses three issues: - need extern.h because of __extern. - need sys/types for clock_t - two functions are also included in <sys/time.h>; my (debian) manual pages confirm that's the canonical location. Regards, Erik diff -urN klibc-0.202-pristine/include/sys/times.h klibc-0.202/include/sys/times.h --- klibc-0.202-pristine/include/sys/times.h 2002-08-06
2005 Mar 02
1
[PATCH] avoid size_t redefinition
This patch protects against redefinitions of size_t. There are currently at least two different definitions provided with klibc: unistd.h -> stddef.h -> bits32/bitsize/stddef.h sys/times.h -> linux/times.h -> linux/types.h both define size_t, causing gcc to complain. I suspect ptrdiff_t has a similar problem; not covered by this patch. Regards, Erik diff -urN
2005 Mar 02
2
[PATCH] klcc compatibility with gcc
Here's a patch to klcc.in from klibc-0.202. The context: I have an application, managed with GNU automake/autoconf. Packagers should be able to build the application with klibc if available, with plain gcc otherwise, as follows: $ cd ~/klibc-0.202 $ ... make linux symlink $ make bindir=$HOME/local/bin \ mandir=$HOME/local/man \ INSTALLDIR=$HOME/local \ SHLIBDIR=$HOME/local/shlib \
2006 Feb 24
2
r56 - trunk/debian
Author: tha-guest Date: 2006-02-24 23:45:10 +0000 (Fri, 24 Feb 2006) New Revision: 56 Modified: trunk/debian/README.Debian trunk/debian/changelog trunk/debian/control trunk/debian/linux-2.6.12-xen.patch Log: hopefully for the last commit before release ;-P - xen-hypervisor & -pae now recommends grub (besides PXE-Boot there is no alternative) - updated & added some more to
2005 Jun 05
0
[PATCH] avoid spurious umount error message
In nfsmount, the function mount_call() is used to invoke both the mount and umount PRC's. These take identical arguments, but umount returns void rather than a file handle, so result should not be checked. This avoids a spurious 'incomplete reply' message if mount(2) system call fails. Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl> Index:
2000 Aug 27
0
patch for TIS (skey/opie) *and* passwd auth via PAM
Hello, appended is a patch that makes it possible to use PAM both for password authentication and TIS (i.e. s/key or opie or any other interactive challenge/response scheme). I have developed this starting from the patch at http://www.debian.org/Bugs/db/61/61906.html on Debian with openssh-2.1.1p4-3. After configuring ssh with --with-pam-tis, there are two PAM services, "sshd" and
2004 Feb 26
1
ESFQ Modification
Hi! Some time ago I faced a problem in limiting traffic on host with multiple uplinks. Since all the stuff worked nice seemed that there will be no problems. But then I realized that P2P users are smart enough to bypass limits as sfq doesn''t give fair sharing in this case (thousands of connections from one user versus few from the other). I tried IMQ but it''s instability in my
2020 Jul 25
0
[klibc:master] stdio: Define all the _unlocked functions and macros
Commit-ID: 8c056cab6c8cce0b5dbc2c3141060f89a6ffc905 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=8c056cab6c8cce0b5dbc2c3141060f89a6ffc905 Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Sat, 25 Jul 2020 21:18:30 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 25 Jul 2020 21:44:14 +0100 [klibc] stdio: Define all the
2005 May 22
0
[patch 04/12] make POLLRDNORM visible
According to poll(2), POLLRDNORM is only available ifdef _XOPEN_SOURCE. Signed-off-by: Erik van Konijnenburg <ekonijn@xs4all.nl> Index: exec/ipconfig/main.c =================================================================== --- exec.orig/ipconfig/main.c 2005-05-21 13:09:54.000000000 +0200 +++ exec/ipconfig/main.c 2005-05-21 13:18:45.000000000 +0200 @@ -1,6 +1,7 @@ /* * ipconfig/main.c
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
2005 Jun 07
8
[PATCH] add dom0 vcpu hotplug control
This patch adds new control messages for vcpu hotplug events. Via the xm vcpu_hotplug sub-program, VCPUS in domains can be enabled/disabled when CONFIG_HOTPLUG_CPU is enabled in the target domain''s kernel. Currently there is nothing that tracks whether a VCPU is up or down. My previous [1]patch added a new per-VCPU flag (VCPUF_down) which could be used to keep track of which VCPUS are
2004 Sep 11
1
[PATCH] fchdir syscall, opendir function
This adds the fchdir syscall and a new opendir() function. diff -purNx linux ../klibc-0.172/klibc/SYSCALLS.def ./klibc/SYSCALLS.def --- ../klibc-0.172/klibc/SYSCALLS.def 2004-08-25 23:56:49.000000000 +0200 +++ ./klibc/SYSCALLS.def 2004-09-11 20:46:10.187551992 +0200 @@ -86,6 +86,7 @@ int access(const char *, int) int link(const char *, const char *) int unlink(const char *) int chdir(const
2005 May 22
1
[patch 05/12] make __constant_htons visible
The __constant_htons and similar are defined in klibc version of netinet/in.h, but not in glibc counterpart. Include the same thing from <asm/byteorder.h>, which is available in both glibc and klibc. Perhaps __constant_htons should be dropped from the klibc version of netinet/in.h: it provides nothing that you cannot get via asm/byteorder, and gets in the way of porting between glibc and
2005 May 25
1
[PATCH] klcc on multiple files
There's a problem in klibc 1.0.12: klcc -c t.c && klcc t.o && ./a.out works, but klcc t.c && ./a.out fails because open3() wants to close its input, and you can do that only once to STDIN. Attached patch makes "klcc t.c" work again. This might break the klcc from stdin option, but I can't tell because I've got no idea how it's supposed to
2019 Jan 18
0
[klibc:master] rename, renameat: Use renameat2() system call
Commit-ID: ebdc262bd8a4d650c58de48f67e6b08aeb953a8f Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=ebdc262bd8a4d650c58de48f67e6b08aeb953a8f Author: Ben Hutchings <ben at decadent.org.uk> AuthorDate: Mon, 16 Jul 2018 18:24:08 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 18 Jan 2019 03:10:14 +0000 [klibc] rename, renameat: Use
2011 Sep 06
0
[PATCH] include: [sys/file.h] define flock(2) there
SUSv3 is silent on that definition, but seen several userspace software that expects flock to be defined in that file and complain that it is missing in klibc. Current declaration is in unistd.h. Signed-off-by: maximilian attems <max at stro.at> --- usr/include/sys/file.h | 9 +++++++++ usr/include/unistd.h | 1 - 2 files changed, 9 insertions(+), 1 deletions(-) create mode 100644
2004 Oct 21
0
define more syslog flags
Define more syslog flags that are still ignored: diff -uNr klibc-0.188/include/syslog.h udev-040/klibc-0.188/include/syslog.h --- klibc-0.188/include/syslog.h 2003-11-23 14:46:23.000000000 -0700 +++ udev-040/klibc-0.188/include/syslog.h 2004-10-21 15:35:22.411495112 -0600 @@ -47,6 +47,14 @@ #define LOG_FACMASK 01770 #define LOG_FAC(x) (((x) >> 3) & (LOG_FACMASK
2006 May 09
0
[PATCH] build: make linux download more flexible
Hi, Here is an updated version of this patch for xen-unstable.hg 9960. Please consider it for inclusion. -- Horms http://www.vergenet.net/~horms/ build: make linux download more flexible * Allow LINUX_REPO to specify the URL of the repository for the linux kernel, - Defaults is: http://www.kernel.org/pub/linux/kernel/ * Allow LINUX_REPO to be
2005 May 24
2
klibc-1.0.12 released
Hopefully I should be up to date with all patches; haven't integrated the module-init-tools, and some of Erik's patches didn't make it for different reasons, which hopefully can be resolved soon. If you have sent another patch which I haven't applied, please do let me know. -hpa