Displaying 10 results from an estimated 10 matches for "__reboot".
2017 May 22
0
[PATCH] Add support for reboot syscall argument
...8 @@
#define RB_DISABLE_CAD LINUX_REBOOT_CMD_CAD_OFF
#define RB_POWER_OFF LINUX_REBOOT_CMD_POWER_OFF
-/* glibc-ish one-argument version */
-__extern int reboot(int);
+/* two-arguments version of reboot */
+__extern int reboot(int, void *);
/* Native four-argument system call */
__extern int __reboot(int, int, int, void *);
diff --git a/usr/klibc/reboot.c b/usr/klibc/reboot.c
index 5795dc3..5aab039 100644
--- a/usr/klibc/reboot.c
+++ b/usr/klibc/reboot.c
@@ -6,10 +6,10 @@
#include <sys/reboot.h>
#include <sys/syscall.h>
-/* This provides the one-argument glibc-ish version of reb...
2019 Jan 18
0
[klibc:master] Add support for reboot syscall argument
...8 @@
#define RB_DISABLE_CAD LINUX_REBOOT_CMD_CAD_OFF
#define RB_POWER_OFF LINUX_REBOOT_CMD_POWER_OFF
-/* glibc-ish one-argument version */
-__extern int reboot(int);
+/* two-arguments version of reboot */
+__extern int reboot(int, void *);
/* Native four-argument system call */
__extern int __reboot(int, int, int, void *);
diff --git a/usr/klibc/reboot.c b/usr/klibc/reboot.c
index 5795dc3..5aab039 100644
--- a/usr/klibc/reboot.c
+++ b/usr/klibc/reboot.c
@@ -6,10 +6,10 @@
#include <sys/reboot.h>
#include <sys/syscall.h>
-/* This provides the one-argument glibc-ish version of reb...
2020 Jul 08
2
[PATCH] Add syscall wrappers required by libkeyutils
...y: Christian Eggers <ceggers at arri.de>
---
usr/klibc/SYSCALLS.def | 3 +++
1 file changed, 3 insertions(+)
diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
index 461d9bf6..67056a2c 100644
--- a/usr/klibc/SYSCALLS.def
+++ b/usr/klibc/SYSCALLS.def
@@ -274,6 +274,9 @@ int reboot::__reboot(int, int, int, void *);
int syslog::klogctl(int, char *, int);
int sysinfo(struct sysinfo *);
long kexec_load(void *, unsigned long, struct kexec_segment *, unsigned long);
+int add_key(const char *, const char *, const void *, size_t, int);
+int request_key(const char *, const char *, const cha...
2002 Dec 23
1
klibc insmod for recent kernels
...+++ klibc-0.70+insmod/klibc/SYSCALLS 2002-12-20 01:05:35.000000000 +0100
@@ -142,5 +142,6 @@
void * create_module(const char *, size_t)
int delete_module(const char *)
int query_module(const char *, int, void *, size_t, size_t)
+long init_module(void *, unsigned long, const char *)
int reboot::__reboot(int, int, int, void *)
int syslog::klogctl(int, char *, int)
Binary files klibc-0.70/utils/insmod and klibc-0.70+insmod/utils/insmod differ
diff -urN klibc-0.70/utils/insmod.c klibc-0.70+insmod/utils/insmod.c
--- klibc-0.70/utils/insmod.c 1970-01-01 01:00:00.000000000 +0100
+++ klibc-0.70+insmod/u...
2020 Jul 25
0
[PATCH] Add syscall wrappers required by libkeyutils
...;
> ---
> usr/klibc/SYSCALLS.def | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
> index 461d9bf6..67056a2c 100644
> --- a/usr/klibc/SYSCALLS.def
> +++ b/usr/klibc/SYSCALLS.def
> @@ -274,6 +274,9 @@ int reboot::__reboot(int, int, int, void *);
> int syslog::klogctl(int, char *, int);
> int sysinfo(struct sysinfo *);
> long kexec_load(void *, unsigned long, struct kexec_segment *, unsigned long);
> +int add_key(const char *, const char *, const void *, size_t, int);
> +int request_key(const char *...
2020 Sep 22
1
[PATCH] SYSCALLS.def: Add finit_module() system call
...LS.def
@@ -270,6 +270,7 @@ int uname(struct utsname *);
int setdomainname(const char *, size_t);
int sethostname(const char *, size_t);
long init_module(void *, unsigned long, const char *);
+long finit_module(int, const char *, int);
long delete_module(const char *, unsigned int);
int reboot::__reboot(int, int, int, void *);
int syslog::klogctl(int, char *, int);
--
2.28.0
2011 Jul 26
0
[PATCH] add support for kexec_load()
...CALLS.def | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def
index d3279c7..be1f9bc 100644
--- a/usr/klibc/SYSCALLS.def
+++ b/usr/klibc/SYSCALLS.def
@@ -248,6 +248,7 @@ long delete_module(const char *, unsigned int);
int reboot::__reboot(int, int, int, void *);
int syslog::klogctl(int, char *, int);
int sysinfo(struct sysinfo *);
+long kexec_load(void *, unsigned long, struct kexec_segment *, unsigned long);
/*
* Low-level I/O (generally architecture-specific);
--
1.7.5.4
2003 Nov 26
1
[PATCH] use 2.6 module syscalls in klibc
...struct module *)
-<!ia64> void * create_module(const char *, size_t)
-int delete_module(const char *)
+long init_module(void *, unsigned long, const char *)
+long delete_module(const char *, unsigned int)
<!ia64> int query_module(const char *, int, void *, size_t, size_t)
int reboot::__reboot(int, int, int, void *)
int syslog::klogctl(int, char *, int)
===== klibc/klibc/syscommon.h 1.1 vs edited =====
--- klibc/klibc/syscommon.h Wed Oct 22 19:37:34 2003
+++ klibc/klibc/syscommon.h Wed Nov 26 16:29:06 2003
@@ -15,7 +15,6 @@
#include <sys/dirent.h>
#include <sys/klog.h>
#i...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...en/trunk/knl/linux/usr//arch/powerpc/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -m32 -Os -W -Wall -Wno-sign-compare -Wno-unused-parameter -c -o usr/klibc/syscalls/delete_module.o usr/klibc/syscalls/delete_module.S
ppc-linux-gcc -Wp,-MD,usr/klibc/syscalls/.__reboot.o.d -D__ASSEMBLY__ -nostdinc -iwithprefix include -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/arch/ppc -Iusr/include/arch/ppc -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/bits32 -Iusr/include/bits32 -I/root/ofs/trunk/packages/klibc-2.0.2/usr/klibc/../include -Iusr/klibc/../include...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote:
> >
> Find attached two patches I have in order to build klibc 2.0.2
> against kernel 3.8.13
> We had to introduce those patches when going from kernel 3.6 to kernel 3.7
> Hope it helps.
>
those patches are wrong and again very brittle.
just use the way it is described in `make help':
A) cd ~/src/linux