From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1908 Path: news.gmane.org!not-for-mail From: Justin Cormack Newsgroups: gmane.linux.lib.musl.general Subject: Re: capset() capget() syscalls Date: Sun, 9 Sep 2012 22:07:37 +0100 Message-ID: References: <50471B56.8040804@palsenberg.com> <20120905142441.GT27715@brightrain.aerifal.cx> <20120906030406.GY27715@brightrain.aerifal.cx> <20120907045631.GL27715@brightrain.aerifal.cx> <20120909002115.GC27715@brightrain.aerifal.cx> <20120909210211.GH27715@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1347224870 4195 80.91.229.3 (9 Sep 2012 21:07:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Sep 2012 21:07:50 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1909-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 09 23:07:53 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TAojR-0003tr-4m for gllmg-musl@plane.gmane.org; Sun, 09 Sep 2012 23:07:53 +0200 Original-Received: (qmail 22144 invoked by uid 550); 9 Sep 2012 21:07:49 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22136 invoked from network); 9 Sep 2012 21:07:49 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=specialbusservice.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=dyh/gh9C+ZDKXLwXbqt240DUkNoMRZwgdawDolxuLVw=; b=cyVrwG8ro1zXQAoy4+l3z0OyqhT0y7HdzJR7H47BkafC1UZeJHiN3Tsub5ssUSn0Dy wCKGbN5apRG9aVa2pR1IGxl+HzNqkMJd5LeL5WCYnUzd8C/F0JcO5gRnsgA7kK21QE7q JWHPW4W9kG9oh2tlECVxkCJWg4s6bAxp2waDM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=dyh/gh9C+ZDKXLwXbqt240DUkNoMRZwgdawDolxuLVw=; b=Qln7vtHDTMm7FEj4s8+FQn9iQNh7JXKj2ttS1vfwZXPoBYfsnWRbRRhOS7XqqlHgtf 11ut5Vrz6FKdpWDVeMt7BmB8sRBy+sV46KdFVO7/45L0gLfM5W1T0MpWg5Udle9WPVKx 9LkrzfjoRh7VDGi4EsyQzDsaM3q5kKa5eMNnkjcsbw9Ls8AUdhaytJ1WHOVh9LiFQX5t +tkN8XubD0pfWbbag19qDHBG6TgiEp5+30tckmD8gjMM5DjEp6lQ7CWZWxN8rmrwTx0Q jY0lg6UZFgN8y2WSvMfZ6SRBG1cH9oCZShvHzg85iCxNESDNPFInm302quU0iTlMlv1/ /y5w== In-Reply-To: <20120909210211.GH27715@brightrain.aerifal.cx> X-Gm-Message-State: ALoCoQnFt2cIz6PZ3u0TjlhXmMOohqi+fyvG0674yDLZkpL2nZwrOPMgl/IM7VF7CHZ6vpW645Xn Xref: news.gmane.org gmane.linux.lib.musl.general:1908 Archived-At: On Sun, Sep 9, 2012 at 10:02 PM, Rich Felker wrote: > On Sun, Sep 09, 2012 at 08:40:25PM +0100, Justin Cormack wrote: >> Here is an updated version of that list. >> >> >> Syscalls not in Musl >> >> missing and should definitely be in: >> ppoll >> preadv >> pwritev >> setdomainname >> mincore > > Added all of these; hopefully they work. > >> syncfs >> clock_adjtime >> remap_file_pages >> kexec_load > > Pending but easy. > > BTW, some cleanup in the tree organization is still needed. I noticed > src/linux has things like wait3/wait4 as well as the newly added dup3. > Some of these are historical practice or improved analogues of > standard functions, and probably belong alongside the standard > functionality they go with. I'd eventually like src/linux to be JUST > "linux features" like epoll, timerfd, etc. - all the stuff that's > completely new features/functionality invented as part of Linux. Makes sense. >> some issues, may wait until decide how to resolve >> recvmmsg >> sendmmsg > > Indeed. We need to open a dialogue with the kernel folks about this... > >> useful but perhaps lower priority >> futex >> mqgetsetattr >> lookup_dcookie >> modify_ldt >> name_to_handle_at >> nfsservctl >> open_by_handle_at >> perf_event_open >> getcpu >> personality >> quotactl >> sched_setaffinity, sched_getaffinity (note glibc uses different >> interface to syscalls) > > How did you assign priority? This set looks a lot more _useful_ than > the first set, whereas the first set almost surely appears more widely > in legacy software without an option to omit its use... Probably no real rationale. The second set are probably more useful to fewer programs. Merge the lists if you like. >> may implement if someone has a real use >> io_cancel, io_destroy, io_getevents, io_setup, io_submit (ie native >> Linux aio not posix aio) >> >> obsolete or unimplemented in Linux >> [...] >> fanotify_init >> fanotify_mark > > These are obsolete already? I thought fanotify was new... Sorry, my mistake I was misremembering whatever there was before inotify. These should be in (also need a bunch of structs etc for the netlink part of the API I think). >> [...] >> get_robust_list > > This is not obsolete; it's just for implementation-internal use only. Ah ok. Justin