From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ar.aichi-u.ac.jp ([202.250.160.40]) by ttr; Sat Aug 16 18:07:50 EDT 2014 Received: from [192.168.1.110] ([125.193.25.135]) by ar; Sun Aug 17 07:07:41 JST 2014 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [9front] a consideration on cwfs From: arisawa In-Reply-To: <5DEA2635-D369-4EE4-A6E9-945EAE267A3C@ar.aichi-u.ac.jp> Date: Sun, 17 Aug 2014 07:07:40 +0900 Content-Transfer-Encoding: 7bit Message-Id: List-ID: <9front.9front.org> X-Glyph: ➈ X-Bullshit: agile markup configuration-oriented XML browser plugin-aware layer References: <69a67f900844bf383dd1213a0eb6d908@felloff.net> <5DEA2635-D369-4EE4-A6E9-945EAE267A3C@ar.aichi-u.ac.jp> To: 9front@9front.org X-Mailer: Apple Mail (2.1878.6) Hello cinap, sorry again. another slip off in sub.c int iaccess(File *f, Dentry *d, int m) { ... /* * various forms of superuser */ if(wstatallow) return 0; + if(allowed && allowed == f->uid) //Kenar + return 0; if(duallow != 0 && duallow == f->uid) if((d->mode & DDIR) && (m == DREAD || m == DEXEC)) return 0; return 1; }