9front - general discussion about 9front
 help / color / mirror / Atom feed
From: arisawa <arisawa@ar.aichi-u.ac.jp>
To: 9front@9front.org
Subject: Re: [9front] a consideration on cwfs
Date: Sun, 17 Aug 2014 07:07:40 +0900	[thread overview]
Message-ID: <CD4DB253-16B8-4B8B-96D3-ED2446EF1739@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <5DEA2635-D369-4EE4-A6E9-945EAE267A3C@ar.aichi-u.ac.jp>

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;
}



  reply	other threads:[~2014-08-16 22:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-10 11:53 Kenji Arisawa
2014-08-10 14:01 ` [9front] " cinap_lenrek
2014-08-10 20:40 ` cinap_lenrek
2014-08-16 10:41   ` arisawa
2014-08-16 22:07     ` arisawa [this message]
2014-08-16 23:02       ` cinap_lenrek
2014-08-17  0:19         ` arisawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CD4DB253-16B8-4B8B-96D3-ED2446EF1739@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).