[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110419012925.GA5734@hallyn.com>
Date: Mon, 18 Apr 2011 20:29:25 -0500
From: "Serge E. Hallyn" <serge@...lyn.com>
To: crocket <crockabiscuit@...il.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Linux capabilities shouldn't be lost during setuid to non-root
from root or to another non-root uid from a non-root uid.
Quoting crocket (crockabiscuit@...il.com):
> Is there an existing utility that sets SECBIT_NO_SETUID_FIXUP?
> Or is there a way to set it without writing a C wrapper program?
You can use capsh (with --secbits=), which ships with libcap2.
-serge
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists