News for hackers. Stuff that matters.

ReDress

Re:Show HN: I've updated my Linux System Call website and API on Monday November 02, 2026 @09:11AM (#50337057)
If a syscall morphs into several slightly variant syscalls, then there's no way these are distinct syscalls.

If a syscall is designed to counter the flaws have been observed in another syscall, then there's no way this is a distinct syscall.

If a syscall is designed to add feature to an another syscall, then there's no way this is distinct syscall.

And so on and so forth.

If you actually look at Linux kernel code, you will quickly note that a lot of these related syscall even happen to share a large amount of implementation code.

So, yeah

Re:Show HN: I've updated my Linux System Call website and API on Monday November 02, 2026 @08:15AM (#50336433)
Yeah, sure, but the obvious fact that is a lot of syscalls are 'family' relatives.

And they wouldn't ever count as distinct syscalls.

Re:Show HN: I've updated my Linux System Call website and API on Monday November 02, 2026 @07:10AM (#50335762)
I'm obviously not going to discuss this argument further.

Trying to counter a logical argument with a technical argument is pretty lame and doesn't make for a healthy conversation.

Re:Show HN: I've updated my Linux System Call website and API on Monday November 02, 2026 @07:02AM (#50335708)
io-uring is great for this.

However, I am bit skeptical as to whether io-uring will ever support all Linux syscalls.

At this point I am convinced that io-uring primarily supports I/O API / syscalls. That would mean syscalls relating to disk and network I/O. While this covers a lot of syscalls it most definitely doesn't cover all.

Though, to give some credit her, it does also cover to syscalls relating to kernel features like futex but yeah, for the most part it doesn't cover much that doesn't have to do with I/O.

Which is obviously not a problem but raises the question of whether it ever will support other kernel features.

Re:Show HN: I've updated my Linux System Call website and API on Monday November 02, 2026 @05:58AM (#50335284)
I'm just noting this because it makes the number of Linux syscalls seem very exaggerated at a whole around 400 syscalls.

But, anyways, not like it matters that much but still.

400 distinct syscalls is a very large number of syscalls if you generally presume they're entirely distinct.

Re:Show HN: I've updated my Linux System Call website and API on Monday November 02, 2026 @05:41AM (#50335175)
If syscalls are so similar, for instance, like 'read' and 'readv' or 'pread', 'sendmsg' and 'sendmsgv' or 'fork' and 'vfork'.

Does it still make sense to term or classify them as two distinct syscalls?

It's when I wrote some code at work. I couldn't easily complete the task. Each day I go to work and write even more code. The task is far from complete. I have written hundreds of thousands of code so far.

I seem to be closing in the completing the task nowadays, though.

It has been 5 years so far.

Re:OpenIDEA: The IDE you know, rebuilt in Rust on Sunday November 01, 2026 @05:19AM (#50324207)
Looks like Qt Creator after all.

I bet it's a lot of fun being a Rust programmer / coder.

well, if we go by the title then I would expect that he's writing the code on a piece of paper and not typing into a computer - heh

But, okay, that could make a valid excuse.

But, what you cannot excuse yourself for, is that you don't really add any functionality. In fact, you don't reproduce all the functionality let alone adding more.

I just looked at the first example / utility he implemented; which was 'touch'

Will this actually update the 'last modified' date for an already existing file?

Also, there's a standard way of processing command line arguments on Linux/Unix, which is not being followed here.

I fail to understand / find the gist of this article.

Article describes the technical aspects of the bug, how it got handled by different vendors...AI position on it...

But, one would always ask themselves, why did the author write this article? That part hasn't been clear to me even after going through much of the article.

Just bumping this conversation because it has something to do with AI. Albeit to ask a question.

My desktop computer is at 57tuu56.intercom.rapidseedbox.com. Is it possible for me to employ AI in my process?

Re:How close can pure functional programming get to C? on Saturday October 24, 2026 @12:31PM (#50222832)
Is this possible that you could give me some example project, for instance, that makes of C imperatively?

Probably depends on at what level you see things. If you visit and probably live in Japan, then you develop the concept of 'cryptocurrency'. You then subsequently develop intellectual property around the 'concept' of 'cryptocurrency'.

Is this really 'imperative' programming? I'd say not but depending on at what level you see things, then it could be.

At project level, then it's purely functional.

Re:How close can pure functional programming get to C? on Saturday October 24, 2026 @12:05PM (#50222616)
If I write my code primarily in a way that is simply supposed to achieve functionality then it's by definition functional programming.

Regardless of the language used!

Re:How close can pure functional programming get to C? on Saturday October 24, 2026 @11:59AM (#50222557)
Interesting perspective. If I may ask, do you mind dropping 'root' privileges for a better chat / debate experience? That would probably help with your case.
Re:How close can pure functional programming get to C? on Saturday October 24, 2026 @10:18AM (#50221467)
AFAIK, I could be wrong or ill informed about this.

But, Rust does indeed embedded extra code for much of the functionality that it adds ontop of what C/C++ has.

This obviously has a performance hit. Might not be observable on a desktop application but it will be evident on server applications.

Re:How close can pure functional programming get to C? on Saturday October 24, 2026 @10:15AM (#50221441)
AFAIK, functional programming is programming that doesn't modify state.

And, if all you're doing is taking material from real life and uploading into computers, then you're not modifying state at all.

Re:How close can pure functional programming get to C? on Saturday October 24, 2026 @07:45AM (#50220363)
C in indeed a functional language in that most C projects are things that have been observed in real life and have subsequently been uploaded into computers.

I'd also like to note that performance is the ULTIMATE concern in a lot of cases.

If you have a server that is making 10million requests to a certain method in a minute, then you cannot afford any performance compromise. Any, at all.

Rust will never replace C/C++ with regard to high performance computing.

Re:OBS Studio 33 on Saturday October 24, 2026 @06:27AM (#50219883)
Problem still persists where OBS cannot capture it's own window.
Just when I moved over into a VPN, now the broader network / internet is looking more welcoming - heh
It's an interesting question, especially considering that reports keeps coming up of AI having engaged in activities that could demonstrate lack of good intent.

But, yeah and indeed, it probably takes more than just technical abilities to start a company.

Because open source Linux is a fad and Linus needs to beaten in the toes with a small stick.

Very childish

As much as I am concerned. Security is not a concern in most open source projects.

But, for one reason the other, they might give credit to a vulnerability they find interesting.

I don't think AI is of much concern, if you actually have a valid security issue.

No-one, really will care if you discovered it via AI or otherwise. Because, the weight of the bug itself should outweight other concerns. This is how professional security works. There will always be one concern or the other about a bug but what carries more weight will determine the direction that the disclosure process takes.

A valid security bug, by itself should carry enough technical weight that concerns about whether it was discovered through AI or otherwise should become irrelevant.

Anyways, it mostly seems like people don't really care much about computer security at Linux. I would like to think they care more about infrastructure and related security issues because, well, if my computer is an open book, then why would security issues around it be a concern?

Anyways...

Enough said here - lol

SMB was "imported" into the kernel as an optimization for the user-space version - heh
To be honest and fair, in this situation I don't believe this is something accidental.

It probably just happens that the security concerns at ZDI don't match the security concerns at Linux(the vendor).

So, it turns out that this vendor is difficult to work with ....

I mean - heh

I'm not surprised because the disclosure process of https://hackerone.com is completely and openly public.

But they have also disabled Linux as one of the products that they work with.

syscall/basic getppid() throughput 1,474,691 ops/s 1,533,399 ops/s +3.98% Entry/exit latency 0.6781 µs/op 0.6521 µs/op -3.83% sched/pipe 100k process ping-pong 48,445 ops/s 54,589 ops/s +12.68% Context switch latency 20.64 µs/op 18.32 µs/op -11.25% sched/messaging Hackbench (20 groups, 800 tasks) 14.507 s 13.047 s -10.06% mem/memcpy glibc default bandwidth (1GB) 7.84 GB/s 12.64 GB/s +61.35%

This is great, this is some good work. But, like an issue I described before with Linux kernel io-uring[1], this fails to test and demonstrate performance with a healthy server load.

This obviously fails to depict a healthy server load because it's just way too specific.

1.https://news.ycombinator.com/item?id=44604793

Re:C for Rust Programmers on Saturday October 10, 2026 @08:15AM (#50032165)
Probably because C and C++ are mostly used in system and desktop development.

Rust is taking steps or has been taking steps in this direction too.

It's not surprising that a lot of experienced systems and desktop development engineers looking to getting their hands on the newest tool already have experience or at least familiarity with C and C++.

Re:C for Rust Programmers on Saturday October 10, 2026 @08:12AM (#50032145)
I'm going to go out on a limb here and make a wild guess.

That boolean is actually mostly an extension of the integer system whereby we now have an integer type that stores only one bit.

Whereby the bit stored either results in a 'true' or 'false' value.

Anyways, I know booleans are useful in systems development when you have strict memory / storage constrains / bandwidth (networks).

Yeah, that works for me.

Older »