DragonFly kernel List (threaded) for 2009-08
DragonFly BSD
DragonFly kernel List (threaded) for 2009-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: access(2) using effective uid instead of real one?


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Mon, 10 Aug 2009 23:45:51 +0200

Nicolas Thery wrote:
Hello,

According to man and posix, access(2) uses the real user UID instead
of the effective one.  However it looks like the functions doing the
checking (ufs_access, vop_helper_access) use the effective uid  and I
can't find anywhere where the effective uid passed to these functions
would be changed for the real one (as fbsd does).

I also wrote a small program that confirms this.

Assuming I'm not missing something, Is it intentional or a bug?

I'd say it is a bug.


cheers
  simon

--
  <3 the future  +++  RENT this banner advert  +++   ASCII Ribbon   /"\
  rock the past  +++  space for low CHF NOW!1  +++     Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]