Displaying 20 results from an estimated 45 matches for "socketcall".
Did you mean:
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/socketcom...
2016 Jan 06
0
[klibc:master] i386: remove special handling of socketcall
...git;a=commit;h=9b625887a59c03c244b43550b576529f209dde11
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 5 Jan 2016 16:43:50 -0800
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 16:43:50 -0800
[klibc] i386: remove special handling of socketcall
As of kernel 4.3, i386 now has direct system calls for sockets, so
drop the special handling for i386 socketcall. If built 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/...
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...
2016 Jan 06
0
[klibc:master] Add accept4(), handle fallback from accept () to accept4()
...a at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 18:35:16 -0800
[klibc] Add accept4(), handle fallback from accept() to accept4()
Add support for the accept4() system call.
Some architectures now have accept4() but not accept(), so introduce a
standard fallback. However, since accept() is a socketcall, we have
to do some 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...
2010 Mar 14
1
klibc sparc sockets foo
.../usr/lib/klibc/bin/ipconfig: no devices to configure
Looking at the source code, it seems there is 2 call mechanisms:
- if the kernel header files (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...
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
us...
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 d...
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/scri...
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...
2014 Jan 25
0
[klibc:master] i386: use the vdso for system calls on i386
...:31:26 -0800
[klibc] i386: use the vdso for system calls on i386
Use the system call entry point in the vdso for system calls on i386.
The vdso can provide either int $0x80, sysenter or syscall depending
on the CPU.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
usr/klibc/arch/i386/socketcall.S | 2 +-
usr/klibc/arch/i386/syscall.S | 16 +++++++++++++++-
usr/klibc/arch/i386/vfork.S | 7 +++++--
usr/klibc/libc_init.c | 9 +++++++++
4 files changed, 30 insertions(+), 4 deletions(-)
diff --git a/usr/klibc/arch/i386/socketcall.S b/usr/klibc/arch/i386/socketcall.S
inde...
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....
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)
...in.
>
> -d
>
> diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
> index af5525ab..6ceee33f 100644
> --- a/sandbox-seccomp-filter.c
> +++ b/sandbox-seccomp-filter.c
> @@ -223,6 +223,12 @@ static const struct sock_filter preauth_insns[] = {
> #ifdef __NR_socketcall
> SC_ALLOW_ARG(socketcall, 0, SYS_SHUTDOWN),
> #endif
> +#if defined(__NR_ioctl) && defined(__s390__)
> + /* Allow ioctls for ICA crypto card on s390 */
> + SC_ALLOW_ARG(ioctl, 1, Z90STAT_STATUS_MASK),
> + SC_ALLOW_ARG(ioctl, 1, ICARSAMODEXPO),
> + SC_ALLOW_ARG(ioctl...