Displaying 8 results from an estimated 8 matches for "_sysctl".
Did you mean:
sysctl
2012 Sep 04
2
[PATCH] valgrind: Support for ioctls used by Xen toolstack processes.
...tup_table",
+ (Addr)&gst->nr_frames, sizeof(gst->nr_frames));
+ break;
+ }
+ default:
+ bad_subop(tid, layout, arrghs, status, flags,
+ "__HYPERVISOR_grant_table_op", ARG1);
+ break;
+ }
+}
+
+PRE(sysctl) {
+ struct xen_sysctl *sysctl = (struct xen_sysctl *)(unsigned int)ARG1;
+
+ PRINT("__HYPERVISOR_sysctl ( %d )", sysctl->cmd);
+
+ /*
+ * Common part of xen_sysctl:
+ * uint32_t cmd;
+ * uint32_t interface_version;
+ */
+ PRE_MEM_READ("__HYPERVISOR_sysctl", ARG1,
+...
2012 Oct 11
0
Re: [Valgrind-developers] [PATCH 1/4] Useful messages for sys/domctl interface_version mismatch.
...++ b/coregrind/m_syswrap/syswrap-xen.c
> @@ -59,6 +59,7 @@
> #include "priv_syswrap-xen.h"
>
> #include <stdint.h>
> +#include <inttypes.h>
>
> #define __XEN_TOOLS__
>
> @@ -353,9 +354,26 @@ PRE(sysctl) {
> PRE_MEM_READ("__HYPERVISOR_sysctl", ARG1,
> sizeof(uint32_t) + sizeof(uint32_t));
>
> - if (!sysctl || sysctl->interface_version !=
> XEN_SYSCTL_INTERFACE_VERSION) - /* BUG ? */
> + if (!sysctl)
> + return;
> +
> + if (sysctl->interface_version != XEN_SYSCTL_INTER...
2005 Oct 09
2
compiling asterisk on SuSE Linux 9.3 fails: illegal instruction
...708) = 21587
rt_sigaction(SIGRTMIN, {0x4003a760, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x4003a3a0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbffff17c, 31, (nil), 0}) = 0
brk(0) = 0x812c000
brk(0x814d000) = 0x814d000
uname({sysname="Linux", nodename="hermes", release="2.6.11.4-21.9-default", version="#1 Fri Aug 19...
2004 Oct 05
2
Help: File is present (via Samba) but cannot be opened?
...eable:1}) = 0
munmap(0x40018000, 122568) = 0
set_tid_address(0x4017c2e8) = 23015
rt_sigaction(SIGRTMIN, {0x4016c950, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=RLIM_INFINITY, rlim_max=RLIM_INFINITY}) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfffdd98, 35, (nil), 0}) = 0
open("/proc/mounts", O_RDONLY) = 3
brk(0) = 0x805b000
brk(0x807d000) = 0x807d000
read(3, "rootfs / rootfs rw 0 0\n/dev/root"..., 4095) = 1619
brk(0x807...
2002 Aug 13
2
AW: Unable to open configuration file "/etc/smb.conf" (or whereve r i specify)
Hi,
it looks like you have something really messed up on your system.
The size of the file is 1243 bytes (from strace) but 0 bytes are being read.
If you had no permission to read the strace would have looked like this:
open("/etc/samba/smb.conf", O_RDONLY|O_LARGEFILE) = -1 EACCES (Permission
denied)
A quick look at the source code reveals:
/etc/samba/smb.conf is opened in file_load
2008 Feb 29
1
cram-md5 crashes passdb
...{0xb7eb7f60, [], 0}, NULL, 8) = 0
[pid 24795] rt_sigaction(SIGRT_1, {0xb7eb7e40, [32], 0}, NULL, 8) = 0
[pid 24795] rt_sigaction(SIGRT_2, {0xb7eb7ff0, [], 0}, NULL, 8) = 0
[pid 24795] rt_sigprocmask(SIG_BLOCK, [32], NULL, 8) = 0
[pid 24795] rt_sigprocmask(SIG_UNBLOCK, [33], NULL, 8) = 0
[pid 24795] _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbf94cdf8, 43, (nil),
0}) = 0
[pid 24795] time(NULL) = 1204280592
[pid 24795] brk(0) = 0x823e000
[pid 24795] brk(0x825f000) = 0x825f000
[pid 24795] uname({sys="Linux",
node="pitux-clust-op1.clust-op1....
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...LL FOUND: fstatfs
SYSCALL FOUND: kexec_load
SYSCALL FOUND: migrate_pages
SYSCALL FOUND: listxattr
SYSCALL FOUND: ptrace
SYSCALL FOUND: fadvise64
SYSCALL FOUND: getegid
SYSCALL FOUND: setrlimit
SYSCALL FOUND: sigpending
SYSCALL FOUND: time
SYSCALL FOUND: unlink
SYSCALL FOUND: setreuid
SYSCALL FOUND: _sysctl
SYSCALL FOUND: _newselect
SYSCALL FOUND: spu_create
SYSCALL FOUND: setns
SYSCALL FOUND: fgetxattr
SYSCALL FOUND: fchmod
SYSCALL FOUND: timer_settime
SYSCALL FOUND: oldolduname
SYSCALL FOUND: sync
SYSCALL FOUND: setsockopt
SYSCALL FOUND: socket
SYSCALL FOUND: fanotify_mark
SYSCALL FOUND: finit_modul...
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