Subject: | Undocumented symbol changes in 1.1 |
Neither the documentation or the Changes file notes that the previously named Linux::Clone::NEWNS (and similar) symbols are now named Linux::Clone::CLONE_NEWNS. This is a breaking change to the API and should be documented, or fixed to preserve API compatibility.
% perl -I blib -MLinux::Clone -E 'use Data::Dumper; say Dumper(\%Linux::Clone::)'
$VAR1 = {
'CLONE_VFORK' => *Linux::Clone::CLONE_VFORK,
'import' => *Linux::Clone::import,
'CLONE_FILES' => *Linux::Clone::CLONE_FILES,
'CLONE_CHILD_CLEARTID' => *Linux::Clone::CLONE_CHILD_CLEARTID,
'KCMP_SIGHAND' => *Linux::Clone::KCMP_SIGHAND,
'clone' => *Linux::Clone::clone,
'KCMP_IO' => *Linux::Clone::KCMP_IO,
'CLONE_THREAD' => *Linux::Clone::CLONE_THREAD,
'CLONE_NEWPID' => *Linux::Clone::CLONE_NEWPID,
'BEGIN' => *Linux::Clone::BEGIN,
'CLONE_SYSVSEM' => *Linux::Clone::CLONE_SYSVSEM,
'CLONE_NEWNET' => *Linux::Clone::CLONE_NEWNET,
'KCMP_FS' => *Linux::Clone::KCMP_FS,
'CLONE_PARENT_SETTID' => *Linux::Clone::CLONE_PARENT_SETTID,
'KCMP_VM' => *Linux::Clone::KCMP_VM,
'CLONE_DETACHED' => *Linux::Clone::CLONE_DETACHED,
'CLONE_NEWCGROUP' => *Linux::Clone::CLONE_NEWCGROUP,
'KCMP_FILE' => *Linux::Clone::KCMP_FILE,
'pivot_root' => *Linux::Clone::pivot_root,
'CLONE_IO' => *Linux::Clone::CLONE_IO,
'CLONE_PTRACE' => *Linux::Clone::CLONE_PTRACE,
'CLONE_VM' => *Linux::Clone::CLONE_VM,
'VERSION' => *Linux::Clone::VERSION,
'kcmp' => *Linux::Clone::kcmp,
'KCMP_FILES' => *Linux::Clone::KCMP_FILES,
'CLONE_NEWUSER' => *Linux::Clone::CLONE_NEWUSER,
'CLONE_NEWIPC' => *Linux::Clone::CLONE_NEWIPC,
'CLONE_SETTLS' => *Linux::Clone::CLONE_SETTLS,
'CLONE_UNTRACED' => *Linux::Clone::CLONE_UNTRACED,
'unshare' => *Linux::Clone::unshare,
'bootstrap' => *Linux::Clone::bootstrap,
'CLONE_NEWNS' => *Linux::Clone::CLONE_NEWNS,
'setns' => *Linux::Clone::setns,
'CLONE_SIGHAND' => *Linux::Clone::CLONE_SIGHAND,
'KCMP_SYSVSEM' => *Linux::Clone::KCMP_SYSVSEM,
'CLONE_CHILD_SETTID' => *Linux::Clone::CLONE_CHILD_SETTID,
'CLONE_NEWUTS' => *Linux::Clone::CLONE_NEWUTS,
'CLONE_FS' => *Linux::Clone::CLONE_FS
};