From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3026 Path: news.gmane.org!not-for-mail From: Justin Cormack Newsgroups: gmane.linux.lib.musl.general Subject: setpriority typo Date: Mon, 1 Apr 2013 14:54:18 +0100 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1c9080d719404d94cf58b X-Trace: ger.gmane.org 1364824471 27094 80.91.229.3 (1 Apr 2013 13:54:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Apr 2013 13:54:31 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3027-gllmg-musl=m.gmane.org@lists.openwall.com Mon Apr 01 15:54:59 2013 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 1UMfCL-0007HU-AE for gllmg-musl@plane.gmane.org; Mon, 01 Apr 2013 15:54:57 +0200 Original-Received: (qmail 7827 invoked by uid 550); 1 Apr 2013 13:54:31 -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 7815 invoked from network); 1 Apr 2013 13:54:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=specialbusservice.com; s=google; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=M9Am0zrjQMGBpFtr/heLr+2Mr1WuRi6EPRfbd3SUuZA=; b=irSYFRC69h4oYBwP3pO+JB80VsO9FRM/1T1Mve5TT3reEdfEUR7TCEah/CjwYxdHEZ rrC0b/7mMDhxXdkfvEMLRF8ZayY57/ZdaoaiOhtQc8iK27/bzgc2C26RtE1+5WcdN0rQ Of7kiQeGVxJSFSl9q3mBIZDJaecYJpumWvmoE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=M9Am0zrjQMGBpFtr/heLr+2Mr1WuRi6EPRfbd3SUuZA=; b=oYUQmnQf+GOvvVsl6cjrn/n394FK7DSYKmC7jsTUmucRYJKKaiGh5rMU20xQx7qiI2 9mSf3+ZHizQ9DwuVzPqpdtl8HNpcjlMz8FWuLPZgzaxhW0anVWLP+7TP9i6CHyd+sqeM klEglOaT6VF4IZJpE6jm37xAuTfiO2Wx2ZVFZXEmFSSc3Z5YlR1BFgMOq6qNv172QD6m 6TDpk39eCAWpdc2lrP4VFqylB9lsoTUb2oSmGfP33NBDNzasDknOkmCa/OlMuUNM9gLH R+UKQzlHMukxHrj3zDr5bfCsQqE7rjLH/UCeCu4peftzN1xPMSLB8JIugZ11BZk4lfFM EWSQ== X-Received: by 10.68.197.133 with SMTP id iu5mr17787123pbc.195.1364824458877; Mon, 01 Apr 2013 06:54:18 -0700 (PDT) X-Gm-Message-State: ALoCoQmPv2Z5LeAclzqgYWxk+QnN95qOlIIU412isRMT9qUHkKJwh85vM9oeqj4b9Tg8IRlSeyyA Xref: news.gmane.org gmane.linux.lib.musl.general:3026 Archived-At: --e89a8ff1c9080d719404d94cf58b Content-Type: text/plain; charset=UTF-8 cat ./src/misc/setpriority.c #include #include "syscall.h" int setpriority(int which, id_t who, int prio) { return syscall(SYS_getpriority, which, who, prio); } ^ should be set! Justin --e89a8ff1c9080d719404d94cf58b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
cat ./src/misc/setpriority.c
#include <s= ys/resource.h>
#include "syscall.h"

int setpriority(int which, id_t who, int prio)
{
return syscall(SYS_getpr= iority, which, who, prio);
}

=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^ should be set!

Justin

--e89a8ff1c9080d719404d94cf58b--