1 |
On 12/22/2012 05:58 PM, Maxim Kammerer wrote: |
2 |
> Hi Anthony, |
3 |
> |
4 |
> Is user.* xattrs on tmpfs considered safe now? (Referring to |
5 |
> meeting-2012-11-14_20_00UTC.log.) |
6 |
> |
7 |
> As a side note, why does XATTR_PAX use user.* and not security.* namespace? |
8 |
> |
9 |
|
10 |
An updated patch by pipacs limits tmpfs to just user.pax.* namespace, |
11 |
and even then there is a size limit. The size check is critical and |
12 |
what was originally missing. |
13 |
|
14 |
XATTR_PAX uses user.* so that a non-privileged user can set flags on |
15 |
their own ELF objects as they can with PT_PAX. Primarily the concern is |
16 |
on processes running as root. There PaX hedges against escalation. |
17 |
There is no danger of escalation when it comes to processes that below |
18 |
to a low privileged user. |
19 |
|
20 |
-- |
21 |
Anthony G. Basile, Ph. D. |
22 |
Chair of Information Technology |
23 |
D'Youville College |
24 |
Buffalo, NY 14201 |
25 |
(716) 829-8197 |