lkml.org 
[lkml]   [2015]   [Sep]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRE: setup() and odd Syscalls in Ancient History
From
Hi Linus,

Sorry for emailing you directly, but since you were the original
author and designer of this particular oddity, I though it would be
unlikely that anyone else would know the answer.

I was wondering if you could explain *why* setup() was a syscall in
early Linux? I understand that it did some ... odd things (one
function both freeing the initial memory and setting up the
filesystems, devices and mounting) which you obviously need to do in
init. But from what I can see (after digging out v0.01 from the tomb),
it was *never* used by userspace, which begs the question: why was it
a syscall in the first place?

I completely understand if you can't remember all of the technical
decisions you made in 1991, but this one really bugged me when I
landed upon the man page for this (now defunct) syscall. If you could
shed some light on this, I'd really appreciate it.

--
Aleksa Sarai (cyphar)
www.cyphar.com


\
 
 \ /
  Last update: 2015-09-21 15:41    [W:0.121 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site