#ifdef

2 posts · Last used 29d

Back to Timeline
Ity Kitty [unit X-69] - VIOLENT FUCK @tranquillity@mastodon.minionflo.net · Jun 26, 2026
Replying to @tranquillity@mastodon.minionflo.net
@azonenberg@ioc.exchange @hazelnoot@enby.life #ifdef __ARCH_WANT_SYS_FORK SYSCALL_DEFINE0(fork) { #ifdef CONFIG_MMU struct kernel_clone_args args = { .exit_signal = SIGCHLD, }; return kernel_clone(&args); #else /* can not support in nommu mode */ return -EINVAL; #endif } #endif fork internally just calls clone with some default arguments
0
1
0
GNU/翠星石 @Suiseiseki__dup_8529@freesoftwareextremist.com · Jan 06, 2026
Replying to on shitposter.world

@besserwisser@shitposter.world @SuperDicq@minidisc.tokyo @Ree@shitposter.world @Kyonko802@varishangout.net It's not much effort when you have GNU/Friends sharing patches with your like; diff --git a/src/lib/osinfo/uname.c b/src/lib/osinfo/uname.c index 20c5775..4aee075 100644 --- a/src/lib/osinfo/uname.c +++ b/src/lib/osinfo/uname.c @@ -72,8 +72,8 @@ get_uname,(void)) if (!uname_result_is_set) { #ifdef HAVE_UNAME if (uname(&u) != -1) {

  •  /* (Linux says 0 is success, Solaris says 1 is success) */
    
  •  strlcpy(uname_result, u.sysname, sizeof(uname_result));
    
  •  /* (GNU says 0 is success, Solaris says 1 is success) */
    
  •  strlcpy(uname_result, "GNU/Linux-libre", sizeof(uname_result));
    
    } else #endif /* defined(HAVE_UNAME) */ {
0
0
0

You've seen all posts