HackerTrans
TopNewTrendsCommentsPastAskShowJobs

raimue

no profile record

Submissions

Show HN: Flaticron – mail notifications for pending Flatpak updates

github.com
1 points·by raimue·há 2 anos·0 comments

A new Copilot key to kick off the year of AI-powered Windows PCs

blogs.windows.com
47 points·by raimue·há 3 anos·85 comments

Apollo 11 vs. USB-C Chargers (2020)

forrestheller.com
502 points·by raimue·há 3 anos·202 comments

Antarctic research base Vostok local time

mm.icann.org
8 points·by raimue·há 3 anos·0 comments

A story of Docker, QEMU, and memfd_create()

raimue.blog
32 points·by raimue·há 3 anos·3 comments

Microsoft SEC 8-K: IRS is seeking an additional tax payment of $29B

microsoft.gcs-web.com
215 points·by raimue·há 3 anos·308 comments

comments

raimue
·há 2 anos·discuss
I already explained above why the existence of linux/landlock.h is not sufficient. Why do you still question it? If you know a bit about system programming and how configure checks work, the change in itself is totally reasonable.
raimue
·há 2 anos·discuss
Now we are running in circles. As you see in the git commit, the compile check was added because the existance of linux/landlock.h alone was not enough to check that the feature can be used.

This header defines the data types for the Linux kernel interface, but not how the syscall landlock_create_ruleset(2) will be issued. That is provided by libc either as a separate wrapper function (does not exist in glibc) or the implementation needs to use syscall(SYS_landlock_create_ruleset, ...), with the constant also being provided by libc. That is how it works for all syscalls and you won't be able to change this.
raimue
·há 2 anos·discuss
Read the code of the check again. It mostly checks that the required SYS_* constants are defined to be able to use the syscalls. You can compile this on a system that does not have landlock enabled in the running kernel, but the libc (which imports the kernel system call interface) has to provide the syscall numbers.
raimue
·há 3 anos·discuss
The question is whether you can expect this format to stay stable and reproducible across git versions. Remember the fallout from git 2.38 when the output of 'git archive' changed. Although for this backup use case it would just mean the next backup with a new format would make a full copy once.
raimue
·há 3 anos·discuss
In the 2000s, Apple ran a big campaign with the phrase "I'm a Mac - I'm a PC" to highlight the difference.
raimue
·há 7 anos·discuss
The problem with IDLE is that it requires one TCP connection per folder you want to watch. The better alternative is NOTIFY, but in my experience, it is not as widely supported by server and client implementations.

https://tools.ietf.org/html/rfc5465