[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: swapon using _SERVERS_DEFPAGER
From: |
Roland McGrath |
Subject: |
Re: swapon using _SERVERS_DEFPAGER |
Date: |
Wed, 26 Jun 2002 14:19:52 -0400 (EDT) |
> Why are we checking err unconditionally here, this just makes the above
> code completly useless, because the call to get_privileged_ports will
> fail, then _SERVERS_DEFPAGER is looked up, but err is not set to 0 again,
> so the following if succeeds.
Thanks, I fixed that.
> Also, if swapon can now be used by a user to add swap space, a swap file
> perhaps
> , shouldn't swapon be moved to [hurd]/utils?
No. It can only be used by a user with write permission on
/servers/default-pager.