summaryrefslogtreecommitdiff
path: root/tests/intel-ci
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2019-02-13 21:36:11 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2019-02-15 11:18:45 +0100
commite8acb89ff45734a581a8110503f6bb79fd8b2228 (patch)
tree8942da826fe59000e9fe323879f6efed0ac84e54 /tests/intel-ci
parent0fb09e7f424fc6c82d52051e4640b65ad1c81eff (diff)
lib/core_auth: mount namespace magic to make the test work everywhere
We're creating our own namespace and then create a copy of the chardev that anyone can access before dropping root. Should hopefully work on any system. This way we're also guaranteed to open the right device again. v2: mount(2) instead of mount(3). v3: Drop execute bits from our temporary chardev (Chris). Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Emil Velikov <emil.velikov@collabora.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'tests/intel-ci')
0 files changed, 0 insertions, 0 deletions