zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: Oliver Kiddle <opk@u.genie.co.uk>,
	Zsh workers <zsh-workers@sunsite.auc.dk>
Subject: Re: PATCH: Re: zsh tests (dev-15)
Date: Sun, 12 Mar 2000 04:12:45 +0000	[thread overview]
Message-ID: <1000312041245.ZM27003@candle.brasslantern.com> (raw)
In-Reply-To: <38CAAF7B.6330EA2B@u.genie.co.uk>

On Mar 11,  8:41pm, Oliver Kiddle wrote:
} Subject: PATCH: Re: zsh tests (dev-15)
}
} After a quick look at some man pages, it seems that Linux maybe doesn't
} have faccessx(). Is this right? Is there an alternative? Does anyone
} know if there are any platforms which don't have faccessx

I found the following on a Google-cached copy of a web page about hacking
into linux systems by exploiting "find ... -exec rm {} \;" as run by cron.
It would appear that faccess() and faccessx() [and by extension probably
accessx() as well] are strictly IBM-isms.

----------------------------------------------------------------

Here is a comparison of some related calls between various OSes:

           Linux*    AIX 3.2   Sunos 4.1.3   Solaris 2.5

chown()      Y          Y          Y            Y                    
fchown()     Y          Y          Y            Y
lchown()     N          N          N            Y

chmod()      Y          Y          Y            Y
fchmod()     Y          Y          Y            Y
lchmod()     N          N          N            N

stat()       Y          Y          Y            Y
lstat()      Y          Y          Y            Y
fstat()      Y          Y          Y            Y
fstatx()     N          Y          N            N
flstat()     N          N          N            N

access()     Y          Y          Y            Y
faccess()    N          Y          N            N
faccessx()   N          Y          N            N

----------------------------------------------------------------


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~2000-03-12  4:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-19 13:29 Oliver Kiddle
2000-01-19 19:26 ` Clint Adams
2000-01-19 19:55 ` Peter Stephenson
2000-03-11 20:41   ` PATCH: " Oliver Kiddle
2000-03-12  4:12     ` Bart Schaefer [this message]
2000-03-12 22:21     ` PATCH: " Bart Schaefer
2000-03-13 14:36       ` Zefram

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=1000312041245.ZM27003@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=opk@u.genie.co.uk \
    --cc=zsh-workers@sunsite.auc.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).