NAME

Linux::Unshare - Perl interface for Linux unshare system call.

SYNOPSIS

use Linux::Unshare qw(unshare_ns);

# as root ... 
unshare_ns()

# now your mounts will become private

DESCRIPTION

This trivial module provides interface to Linux unshare(CLONE_NEWNS) system call. CLONE_NEWNS is hardcoded, therefore the function being exported is unshare_ns

SEE ALSO

unshare(2) Linux man page.

AUTHOR

Boris Sukholitko, <boriss@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2009 by Boris Sukholitko

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.