Displaying 8 results from an estimated 8 matches for "sys_fork".
2003 Nov 12
0
smbmount patch
...(smbmount.c) when parent process forking.
Maybe this is a Linux-only bug (2.4 and 2.6 shows the same). But this is enough to
apply my patch (or make other proper thing[s]).
Explaining:
Smbmount need to be a daemon to serve the mountpoint.
Parent make [sys_]fork() to create this young daemon.
After sys_fork() children go ahead and kill(parentpid, SIGTERM).
BUT! Parent sometimes late to finish his sys_fork() :((
I don't know why. And when he still in fork() and children kill(perentpid,SIGTERM)'s him
parent calls exit(), but after this begin some maybe "proper" freeing of something by...
2014 Jun 10
4
[LLVMdev] use of undeclared identifier '__NR_*' error while building clang
Hi guys,
I am following this[1] tutorial to install clang. However, I have made a
small change in the configure command, and I am running it with
'--enable-optimized' option to avoid the debug build.
I am getting the errors (given at the end) related to *undeclared
identifiers '__NR_*'*. Can someone please provide some input about how to
tackle this issue?
On my other machine, I
2003 Jan 21
1
ext3 is still locking up
...00000 00000360 c7bcf0a0 cd37aac0 00000000 00000011
00000000 c29fa000 c011763e 00000011 c29fa000 fffffff4 c1aa4480 ca5fdf60
00000008 0003aa21 00000001 ca5fc000 ca5fdfa8 bfffb7d8 ca5fc000 40013020
Call Trace: [<c011763e>] do_fork [kernel] 0x2ce (0xca5fdf6c))
[<c0107515>] sys_fork [kernel] 0x15 (0xca5fdfac))
[<c010893b>] system_call [kernel] 0x33 (0xca5fdfc0))
And now and then I see this messages (sometimes without any effects)
EXT3-fs error (device ide0(3,2)): ext3_free_blocks: Freeing block in system zone - block = 2
fsck: contains a file system with errors, c...
2002 Jun 02
0
daemontools supervise and smbd
...ue;
277 }
278
279 /* remove here to fork even in -i mode
280 * if (smbd_server_fd() != -1 && interactive)
281 * return True;
282 */
283 if (smbd_server_fd() != -1 && sys_fork()==0) {
284 /* Child code ... */
------------------------------------------------------------------------------------
subproblem 5: where is output ? perhaps in interactive mode output has
different redirection?
but most of all, am I on the c...
2004 Mar 14
0
[PATCH] fix klibc build against current kernel headers
2.6.4 changed asm/unistd.h, it includes now linux/types.h. This breaks
compilation of fork.c and mmap.c, duplicate typedefs on ppc64 and x86_64.
Moving one include fixes the compile.
--- klibc/fork.c
+++ klibc/fork.c 2004/03/14 15:04:51
@@ -5,8 +5,8 @@
* doesn't have sys_fork, only sys_clone...
*/
-#include <sys/syscall.h>
#include <signal.h>
+#include <sys/syscall.h>
#include <unistd.h>
#ifdef __NR_fork
--- klibc/mmap.c
+++ klibc/mmap.c 2004/03/14 15:04:55
@@ -4,8 +4,8 @@
#include <stdint.h>
#include <errno.h>
-#include...
2004 May 26
2
duplicate domains in browse list
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i recently upgraded some of my servers from 3.0.2a to 3.0.4
after the upgrade my browselist shows duplicate entries for the domains.
one domains is managed by a samba PDC(providing WINS too) and two samba
BDC's.
the other domains are managed by one samba PDC.
'smbclient -N -L <WINS_SERVER>' shows:
- ---
Workgroup
2006 Jun 26
0
[klibc 25/43] ia64 support for klibc
.../null
+++ b/usr/include/arch/ia64/klibc/archconfig.h
@@ -0,0 +1,17 @@
+/*
+ * include/arch/ia64/klibc/archconfig.h
+ *
+ * See include/klibc/sysconfig.h for the options that can be set in
+ * this file.
+ *
+ */
+
+#ifndef _KLIBC_ARCHCONFIG_H
+#define _KLIBC_ARCHCONFIG_H
+
+/* IA64 doesn't have sys_fork, but it does have an MMU */
+#define _KLIBC_NO_MMU 0
+/* IA64 doesn't have sys_vfork, it has architecture-specific code */
+#define _KLIBC_REAL_VFORK 1
+
+#endif /* _KLIBC_ARCHCONFIG_H */
diff --git a/usr/include/arch/ia64/klibc/archsetjmp.h b/usr/include/arch/ia64/klibc/archsetjmp.h
new fil...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In
particular, the patchset has been reorganized so as not to break
git-bisect.
Additionally, this updates the patch base to 2.6.17-git12
(d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main
difference on the klibc side is removal of obsolete code.
This is also available as a git tree at: