Bug 13160 - RFE: chroot_wrapper
Summary: RFE: chroot_wrapper
Status: ASSIGNED
Alias: None
Product: cwrap
Classification: Unclassified
Component: library (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-22 16:34 UTC by Jakub Jelen
Modified: 2019-02-28 11:52 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Jelen 2017-11-22 16:34:02 UTC
During the testing libssh with current OpenSSH 7.6 and (unable-to-turn-off) 
privilege separation, which depends on chroot(), this looks like the
simplest way to implement bogus chroot() function that will always
succeed in this testing environment.

I am not sure what would be the best approach to add this
functionality. Either into separate tool or into some of the existing
tools and trigger the functionality by some environment variable.

What do you think? Would it make sense to do something like that?
Comment 1 Andreas Schneider 2019-02-28 11:52:28 UTC
See https://gitlab.com/cryptomilk/priv_wrapper for a start ...