2020-09-16T00:16:00 #kisslinux I have herbew(my temporary name for the wayland port of herbe) connecting to the wayland server and compositor then creating a surface. 2020-09-16T00:25:18 #kisslinux that's exciting! 2020-09-16T01:52:48 #kisslinux i have, like, two qt programs total and i am currently stealing half of the packages from kiss-kde to theme them properly 2020-09-16T01:53:08 #kisslinux one of them even has it's own configuration for theming but the context menus and file pickers are raw qt 2020-09-16T01:53:35 #kisslinux (well, 3 is not exactly half, but whatevs) 2020-09-16T02:00:40 #kisslinux wouldn't that look weird? 2020-09-16T02:00:55 #kisslinux unless you don't use graphical apps that aren't cute xD 2020-09-16T02:00:55 #kisslinux weird, as in...? 2020-09-16T02:01:20 #kisslinux as in, not uniform 2020-09-16T02:02:01 #kisslinux i try to use arc everywhere, falling back to dracula if arc's not available (so, everything but gtk/qt) 2020-09-16T02:02:06 #kisslinux works p well so far for me 2020-09-16T02:02:09 #kisslinux oh i see 2020-09-16T03:20:39 #kisslinux Hey dilyn. When I get this a little further would you mind testing it on your machine as well? 2020-09-16T03:29:20 #kisslinux definitely! 2020-09-16T03:31:57 #kisslinux :q 2020-09-16T13:57:59 #kisslinux muevoids[m] / dilyn : I *think* i have an x-less system. At least from the standpoint of no xwayland, so I could also help test things. I do have firefox though so that might have installed some X dependencies during build. Any way to check if I can help test things? 2020-09-16T15:20:15 #kisslinux If I am checking that a process exists in C by calling 'kill(0, pid)' and it fails due to permission errors 2020-09-16T15:20:27 #kisslinux Is it safe to assume that it is indeed running? 2020-09-16T15:32:28 #kisslinux merakor: no 2020-09-16T15:32:34 #kisslinux POSIX: In secure implementations, a process may be restricted from sending a signal to a process having a different security label. In order to prevent the existence or nonexistence of a process from being used as a covert channel, such processes should appear nonexistent to the sender; that is, [ESRCH] should be returned, rather than [EPERM], if pid refers only to such processes. 2020-09-16T15:33:04 #kisslinux also it would be racy 2020-09-16T15:33:22 #kisslinux process could be there in the moment of test, but not when you want to do something to it 2020-09-16T15:33:50 #kisslinux ++ 2020-09-16T15:35:31 #kisslinux How can I possibly check for a process without race conditions? 2020-09-16T15:38:04 #kisslinux illiliti: I may have totally misunderstood that, but doesn't that basically say it EPERM is for permissions, ESRCH is for processes that look like they don't exist. 2020-09-16T15:38:06 #kisslinux it depends on what you wanna do to the process, there may be a way to do it atomically 2020-09-16T15:38:48 #kisslinux I was thinking of checking the error of kill() and let it pass if it is EPERM 2020-09-16T15:39:16 #kisslinux sh4rm4^bnc: It is for sysmgr 2020-09-16T15:39:37 #kisslinux some kind of task manager? 2020-09-16T15:39:46 #kisslinux Yeah 2020-09-16T15:40:32 #kisslinux The program itself is a shell script, but I am thinking of a utility just for checking processes 2020-09-16T15:41:15 #kisslinux It's just a random thought though 2020-09-16T15:41:46 #kisslinux merakor2: secure implementation can return ESRCH to prevent enumeration of process... 2020-09-16T15:42:48 #kisslinux But the purpose is to only check if a process exists 2020-09-16T15:42:56 #kisslinux The kill() call is going to fail on ESRCH anyway 2020-09-16T15:44:08 #kisslinux Only POSIX way of properly checking is kill() and I can't move away from that 2020-09-16T15:44:23 #kisslinux The thing I want to be sure is EPERM == process exists 2020-09-16T15:45:09 #kisslinux I didn't find anything against it, but I don't want to implement such a thing unless I am sure. 2020-09-16T15:45:37 #kisslinux you can't assume that kill return EPERM if process running 2020-09-16T15:45:56 #kisslinux I am not assuming that 2020-09-16T15:46:29 #kisslinux I am assuming the opposite 2020-09-16T15:46:46 #kisslinux If it returns EPERM, then that means the process is running 2020-09-16T15:46:58 #kisslinux I just don't have permission to kill it 2020-09-16T15:49:32 #kisslinux kill can return ESRCH if process running even if signal == 0 to prevent enumeration 2020-09-16T15:49:37 #kisslinux if you don't have permission to that process 2020-09-16T15:51:04 #kisslinux Yeah, but I can't handle every situation 2020-09-16T15:51:14 #kisslinux I am just going to handle no error and EPERM 2020-09-16T15:52:34 #kisslinux ok, but keep in mind that you can get false positive 2020-09-16T15:53:38 #kisslinux As far as I understand ESRCH can arise for multiple reasons 2020-09-16T15:53:58 #kisslinux It also arises when the process does indeed not exist 2020-09-16T15:54:12 #kisslinux But EPERM is only due to permission errors 2020-09-16T15:54:35 #kisslinux Hola! 2020-09-16T15:54:47 #kisslinux claudia02: Hey! 2020-09-16T15:55:00 #kisslinux I have trouble fetching the sources from this package through 'kiss'. https://github.com/sdsddsd1/kiss-games/tree/master/games/srb2kart 2020-09-16T15:55:05 #kisslinux Can someone reproduce? 2020-09-16T15:55:31 #kisslinux It returns '406 - Not Acceptable' 2020-09-16T15:55:55 #kisslinux can you fetch normally? 2020-09-16T15:56:18 #kisslinux i can reproduce 2020-09-16T15:59:34 #kisslinux i managed to bypass that error by adding '--user-agent Firefox' to curl 2020-09-16T15:59:57 #kisslinux I can fetch witch wget and firefox 2020-09-16T16:00:30 #kisslinux looks like WAF rejects curl requests lol 2020-09-16T16:01:13 #kisslinux illiliti: I can reproduce your fix. 2020-09-16T18:03:47 #kisslinux hey all, not sure if i'm doing something totally wrong here, but i've compiled the kiss kernel with firmware for my AMD cpu and intel wireless card, and compiled and installed it, with a working grub and fstab configuration, but when i try to boot it just gives one error about kvm being disabled by bios, and then doesnt show a login prompt or any other debugging info, e ven when i pass a 2020-09-16T18:03:49 #kisslinux loglevel of 8 with grub. any ideas for what i should try next? 2020-09-16T18:04:32 #kisslinux i have read the wiki and tried finding relevant troubleshooting info on the gentoo wiki 2020-09-16T18:14:38 #kisslinux i ported /etc/portage/patches into kiss, https://git.ebc.li/kiss/custom/src/branch/main/custom/katch 2020-09-16T18:14:41 #kisslinux might be useful to some 2020-09-16T18:28:00 #kisslinux admicos: Neat. I'm poking around a kiss chroot for the first time, considering trying it on my laptop and I'm currently using gentoo (and that feature). 2020-09-16T20:43:33 #kisslinux ouch: /usr/bin/kiss: 10: .: 3: No file descriptors available 2020-09-16T20:44:19 #kisslinux AAAAH i made a very dumb mistake that's why 2020-09-16T20:44:24 #kisslinux it only took compiling gcc to find out :( 2020-09-16T22:46:44 #kisslinux /m ghost 2020-09-16T23:41:39 #kisslinux well, recompiling musl with some special sauce killed my ability to properly compile anything 2020-09-16T23:41:40 #kisslinux fun! 2020-09-16T23:42:30 #kisslinux i assume i can extract the musl from the kiss tarball while fixing my own musl 2020-09-16T23:44:49 #kisslinux Wayland client's def have a lot more boiler plate code then xorg 2020-09-16T23:45:35 #kisslinux Also a lot more flexibility it seems though. 2020-09-16T23:56:36 #kisslinux admicos, special sauce == -flto ? 2020-09-16T23:56:46 #kisslinux might be :p 2020-09-16T23:57:01 #kisslinux found a patch in a mailing list that fixed musl's compile issue, but apparently it screwed up everything else 2020-09-16T23:57:17 #kisslinux ngl i kinda expected it, it was dumb of me not to back up 2020-09-16T23:57:27 #kisslinux musl is *the* implementation 2020-09-16T23:57:33 #kisslinux you can't LTO it 2020-09-16T23:58:05 #kisslinux because the compiler will throw away stuff it thinks is unnecessary 2020-09-16T23:58:24 #kisslinux as a wise man once said: "HOLY COW I'M TOTALLY GOING SO FAST OH F***" 2020-09-16T23:58:47 #kisslinux anyway, as long as your busybox an cc is statically linked you can fix it 2020-09-16T23:59:11 #kisslinux i fixed it already, copied the crt files over from kiss installation tarball and rebuilt musl