Displaying 20 results from an estimated 45 matches for "socketcalls".
2016 Jan 06
0
[klibc:master] Remove sys/socketcalls.h
...g/?p=libs/klibc/klibc.git;a=commit;h=4a7ac3d2d9602d06b301cca62e2382f17fa6d43b
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 5 Jan 2016 18:24:18 -0800
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 18:24:18 -0800
[klibc] Remove sys/socketcalls.h
We no longer generate assembly stubs for socketcalls on any
architecture, so <linux/net.h> is perfectly usable as is.
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
usr/include/sys/socketcalls.h | 28 ----------------------------
usr/klibc/socketcalls/socketcomm...
2016 Jan 06
0
[klibc:master] i386: remove special handling of socketcall
...ilt on older
kernels, it will still generate socketcall stubs although they will be
less efficient.
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
usr/klibc/arch/i386/Kbuild | 2 +-
usr/klibc/arch/i386/socketcall.S | 55 ----------------------------------------
usr/klibc/socketcalls.pl | 49 ++++++++++++-----------------------
3 files changed, 17 insertions(+), 89 deletions(-)
diff --git a/usr/klibc/arch/i386/Kbuild b/usr/klibc/arch/i386/Kbuild
index edc7b3c..de237be 100644
--- a/usr/klibc/arch/i386/Kbuild
+++ b/usr/klibc/arch/i386/Kbuild
@@ -2,7 +2,7 @@
# klibc .o f...
2005 Jul 28
0
[PATCH] Use KLIBSRC + KLIBINC consistent in kbuild files
...9611
tree 93f88d7564bb9e4d4bc95fd455b842d0bd0fdc54
parent 8151f4a98f82fba4fe3b949f49da4ab8bba71501
author Sam Ravnborg <sam@mars.(none)> Thu, 28 Jul 2005 23:36:07 +0200
committer Sam Ravnborg <sam@mars.(none)> Thu, 28 Jul 2005 23:36:07 +0200
kernel/Kbuild | 4 ++++
klibc/socketcalls/Kbuild | 12 +++++-------
klibc/syscalls/Kbuild | 28 +++++++++++++---------------
3 files changed, 22 insertions(+), 22 deletions(-)
diff --git a/kernel/Kbuild b/kernel/Kbuild
--- a/kernel/Kbuild
+++ b/kernel/Kbuild
@@ -2,6 +2,10 @@
# kbuild file for usr/ - including initramfs image and k...
2016 Jan 06
0
[klibc:master] Add accept4(), handle fallback from accept () to accept4()
...special hacks.
While we are at it, handle conditional socketcall stubs based on
their existence <linux/net.h>, analogous to <asm/unistd.h>.
Signed-off-by: H. Peter Anvin <hpa at linux.intel.com>
---
usr/include/sys/socket.h | 1 +
usr/klibc/Kbuild | 2 +-
usr/klibc/SOCKETCALLS.def | 1 +
usr/klibc/accept.c | 16 ++++++++++++++++
usr/klibc/socketcalls.pl | 15 +++++++++++++--
5 files changed, 32 insertions(+), 3 deletions(-)
diff --git a/usr/include/sys/socket.h b/usr/include/sys/socket.h
index 3334212..d0ba9eb 100644
--- a/usr/include/sys/socket.h
+++ b/usr/inc...
2010 Mar 14
1
klibc sparc sockets foo
...les (asm/unistd.h) defines __NR_socket (and so
on), the makefiles uses the syscall interface ;
- otherwise, the makefiles uses the socketcall interface, which wraps
the call into a common syscall (named socketcall).
See the <src>/usr/klibc/syscalls.pl and <src>/usr/klibc/socketcalls.pl
for details.
Looking at the kernel source code for the 32 bits syscall table for the
sparc64 architecture <src-2.6.26>/arch/sparc64/kernel/systbls.S, we see
at index __NR_socket (97 according to asm-sparc/unistd.h and to
asm-sparc64/unistd.h) that the entry points...
2010 Oct 04
0
No subject
* WARNING: Backward-incompatibility!
The '$?' variable now contains all prerequisites that caused the target to
be considered out of date, even if they do not exist (previously only
existing targets were provided in $?).
---
usr/klibc/socketcalls/Kbuild | 3 +++
usr/klibc/syscalls/Kbuild | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/usr/klibc/socketcalls/Kbuild b/usr/klibc/socketcalls/Kbuild
index 648c928..d70b15f 100644
--- a/usr/klibc/socketcalls/Kbuild
+++ b/usr/klibc/socketcalls/Kbuild
@@ -48,3 +48,6 @...
2010 Nov 10
2
[PATCH] Avoid infinite loop during build with make 3.82
Remove FORCE from the list used by if_changed and friends. Otherwise the target
will always be considered out of date when built with make 3.82.
2007 Sep 22
3
[git patch] module-init-tools fixes
hello hpa,
quite easy to get m-i-t build against klibc,
so i propose to kill the old local insmod copy.
sent the only local m-i-t fix upstream, please pull:
git pull git://brane.itp.tuwien.ac.at/~mattems/klibc.git maks
maximilian attems (3):
[klibc] klibc/socketcalls/.gitignore addition
[klibc] elf.h add support for st_info field
[klibc] remove local insmod.c copy
and diffstat
usr/include/sys/elf32.h | 4
usr/include/sys/elf64.h | 4
usr/include/sys/elfcommon.h | 10 ++
usr/klibc/socketcalls/.gitignore | 1
usr...
2005 Jul 26
2
[PATCH] better kbuild integration
...t; Tue, 26 Jul 2005 09:59:35 +0000
cp-to-kernel.sh | 14 +++++++++++--
gzip/Kbuild | 49 ++++++++++++++++++++++++++++++++++++++++++++++
kernel/Kbuild | 13 +++++++++++-
kernel/Kbuild.klibc | 12 +++++++----
klibc/Kbuild | 5 +++--
klibc/socketcalls/Kbuild | 4 +++-
klibc/syscalls/Kbuild | 2 ++
7 files changed, 88 insertions(+), 11 deletions(-)
diff --git a/cp-to-kernel.sh b/cp-to-kernel.sh
--- a/cp-to-kernel.sh
+++ b/cp-to-kernel.sh
@@ -12,7 +12,7 @@ fi
kernel=$1
if [ ! -d $kernel ]; then
- echo "$kernel is not a kernel di...
2007 Dec 10
1
[git patch] m-i-t support, ipconfig fix
hello hpa,
please pull latest
git pull git://git.debian.org/~maks/klibc.git maks
forgot to ask to keep git port open for our boxes at university,
thus moved my tree over too the alioth box.
for the changes
maximilian attems (4):
[klibc] klibc/socketcalls/.gitignore addition
[klibc] elf.h add support for st_info field
[klibc] remove local insmod.c copy
[klibc] ipconfig fix DHCPREQUEST per RFC 2131
the diffstat is
usr/include/sys/elf32.h | 4 +
usr/include/sys/elf64.h | 4 +
usr/include/sys/elfcommon.h...
2005 Jul 30
3
kbuild updates to klibc
Hi Peter & others.
Here are three patches that does the following:
#1 - Update kbuild part of klibc so make clean works
Adds gzip including a sample kbuild file
#2 - Factor out definition of usr/ to two variables
#3 - Move kbuild files to reflect location in the kernel
As requested in earlier mail I need a bit of guidiance of what you
expect from the kernel integrated parts of klibc.
2006 Apr 11
6
klibc kbuild status
Hi hpa & others.
Following is a list of issues that I hope to be addressed soon so
we are in even better shape for -mm inclusion.
1) rebuild initramfs when content changes.
> It is a simple matter of copying in usr/Makefile from the latest
> -linus kernel and replace the 10 first lines with the content from
> klibc Kbuild file.
2) havesyscalls.h is not deleted after make
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...| 67 ++++++++++++++++++++++++++++++++----
scripts/Makefile.clean | 32 ++++++++---------
usr/klibc/Kbuild | 59 +++++++++++++-------------------
usr/klibc/arch/x86_64/Kbuild | 8 ++++
usr/klibc/arch/x86_64/Makefile.inc | 13 -------
usr/klibc/socketcalls/Kbuild | 6 ++-
usr/klibc/syscalls/Kbuild | 6 ++-
usr/klibc/zlib/Kbuild | 10 +++++
8 files changed, 123 insertions(+), 78 deletions(-)
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index c2294dc..2d1e262 100644
--- a/scripts/Kbuild.klibc
+++ b/scrip...
2011 Aug 29
0
[PATCH] include: [sys/socket.h] Fix bind and connect attributes
...om 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>
---
usr/include/sys/socket.h | 4 ++--
usr/klibc/SOCKETCALLS.def | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/usr/include/sys/socket.h b/usr/include/sys/socket.h
index fbc7711..38cfef6 100644
--- a/usr/include/sys/socket.h
+++ b/usr/include/sys/socket.h
@@ -244,8 +244,8 @@ struct ucred {
__extern int socket(int, int, int);...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
...sources to be specified on the command line
2: Remove redundent include of the klibc .config
3: Allow override of klibc .config location
4: Fix srctree references in build.
5: Specify VPATH
6: Fix flags to always use relative paths.
7: Update syscalls.pl commands to use $(srctree)
8: Update socketcalls.pl commands to use $(srctree)
9: Fix asm includes for newer kernel sources.
10: Add missing NFS mount RPC call ordinals.
11: packet.h needs a definition for struct iovec
12: netdev.c needs sockios.h
13: Define types and values in sys/socket.h
14: Include sys/socket.h from net/if_arp.h
15: Drop u...
2014 Jan 25
0
[klibc:master] i386: use the vdso for system calls on i386
Commit-ID: c830ba8d7d4f1653b36321c103c02251528e47d6
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=c830ba8d7d4f1653b36321c103c02251528e47d6
Author: H. Peter Anvin <hpa at zytor.com>
AuthorDate: Fri, 24 Jan 2014 20:31:26 -0800
Committer: H. Peter Anvin <hpa at zytor.com>
CommitDate: Fri, 24 Jan 2014 20:31:26 -0800
[klibc] i386: use the vdso for system calls
2003 Oct 04
0
klibc: kbuild improvements
....inc
@@ -44,73 +39,76 @@
quiet_cmd_objs.mk = GEN $@
cmd_objs.mk = $(PERL) $(word 2,$^) $(ARCH) $(obj) $< > $@
+clean-files += syscalls.mk syscalls/*.[cS]
$(obj)/syscalls.mk: $(src)/SYSCALLS $(src)/syscalls.pl
- $(call if_changed,objs.mk)
+ $(call cmd,objs.mk)
+clean-files += socketcalls.mk socketcalls/*.[cS]
$(obj)/socketcalls.mk: $(src)/SOCKETCALLS $(src)/socketcalls.pl
- $(call if_changed,objs.mk)
+ $(call cmd,objs.mk)
# That's what we're supposed to build
-build-targets := $(obj)/crt0.o $(obj)/libc.a $(obj)/libc.so $(obj)/klibc.so
+always := crt0.o libc.a libc.s...
2010 Mar 14
0
[patches] klibc review unsorted patch queue
...o test if it fixes the referenced sparc bug)
and the losetup may need refinments, tested it out, seems to work.
afaik the encrypted loops are deprecated due to security vuln..
git diff --stat --summary master...test
klcc/klcc.in | 2 +-
usr/klibc/SYSCALLS.def | 5 +
usr/klibc/socketcalls.pl | 2 +-
usr/utils/Kbuild | 4 +-
usr/utils/loop.h | 49 +++++
usr/utils/losetup.c | 481 ++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 540 insertions(+), 3 deletions(-)
create mode 100644 usr/utils/loop.h
create mode 100644 usr/utils/losetup.c...
2007 Aug 15
0
[git patch] fstype support + minor stuff
...++
usr/kinit/fstype/gfs2_fs.h | 56 ++++++++++++++++++++
usr/kinit/fstype/reiser4_fs.h | 2
usr/kinit/fstype/squashfs_fs.h | 41 ++++++++++++++
usr/klibc/.gitignore | 9 +++
usr/klibc/Kbuild | 109 ++++++++++++++++++++-------------------
usr/klibc/socketcalls/.gitignore | 3 +
usr/klibc/syscalls/.gitignore | 6 ++
13 files changed, 254 insertions(+), 52 deletions(-)
leaves currently only ocfs2 on my fstype todo list.
--
maks
commit 8094659e23e6c25293868b58c485b7b21cf314a1
Author: maximilian attems <max at stro.at>
Date: Wed Aug 15...
2017 Mar 14
2
[PATCH] Enable specific ioctl calls for ICA crypto card (s390)
I've committed this diff. Please test and confirm that it works ok.
(If not, then I've botched the macro fixes in the previous commit)
Thanks,
Damien Miller
On Tue, 14 Mar 2017, Damien Miller wrote:
> ok, with the fixes for the seccomp-bpf sandbox that I just committed
> the diff reduces to.
>
> IMO this is scoped narrowly enough to go in.
>
> -d
>
> diff