From mboxrd@z Thu Jan 1 00:00:00 1970 From: imp@bsdimp.com (Warner Losh) Date: Sat, 3 Feb 2018 18:14:30 -0700 Subject: [TUHS] Happy birthday, Ken Thompson! In-Reply-To: References: <184378368.23385.1517692373907.JavaMail.tomcat@india-live-be03> Message-ID: On Sat, Feb 3, 2018 at 5:52 PM, Dave Horsfall wrote: > On Sat, 3 Feb 2018, Andy Kosela wrote: > >> Linux and FreeBSD are now two monstrous trolls, bloated and extremely >> complex and large. >> > > Looking through /usr/include/***.h, I see: > > FreeBSD 10.4: #define SYS_MAXSYSCALL 548 > MacOS Sierra: #define SYS_MAXSYSCALL 522 > Debian 8.10: I don't know where the Penguins have hidden it... Part of the reason for the bloat is that newer syscalls replace older ones (with the option for keeping the older one around for compat). So, open becomes openat (since the latter is more expressive). Also, over time, different data types grow to allow, for example, larger than 2G files, which has a big ripple effect on lots of system calls. But looking now, a lot are due to MAC and ACL functions (well, 30). There's 80 'at' system calls (though some are in the ~150 obsolete list)... So it isn't as utterly horrific as it might sound, but it's still pretty bad. (There's 400 defined, with 20 of those being for prior versions of the OS). Warner -------------- next part -------------- An HTML attachment was scrubbed... URL: