Fix the damned mount options
This commit is contained in:
parent
167b06fe77
commit
874bf2fbd6
2 changed files with 4 additions and 1 deletions
3
Changes
3
Changes
|
@ -1,5 +1,8 @@
|
||||||
Revision history for Sys::Linux::Namespaces
|
Revision history for Sys::Linux::Namespaces
|
||||||
|
|
||||||
|
0.012 - May 4 2017
|
||||||
|
* Fix borken mount options
|
||||||
|
|
||||||
0.011 - May 4 2017
|
0.011 - May 4 2017
|
||||||
* Fix broken /proc mounting support
|
* Fix broken /proc mounting support
|
||||||
* Fixup tests to conform more to current BP
|
* Fixup tests to conform more to current BP
|
||||||
|
|
|
@ -15,7 +15,7 @@ PROTOTYPES: ENABLE
|
||||||
SV *_mount_sys(const char *source, const char *target, const char *filesystem, unsigned long mountflags, const char *data)
|
SV *_mount_sys(const char *source, const char *target, const char *filesystem, unsigned long mountflags, const char *data)
|
||||||
CODE:
|
CODE:
|
||||||
ST(0) = sv_newmortal();
|
ST(0) = sv_newmortal();
|
||||||
sv_setiv(ST(0), mount(source, target, filesystem, mountflags, NULL));
|
sv_setiv(ST(0), mount(source, target, filesystem, mountflags, (void *) data));
|
||||||
|
|
||||||
SV *_umount_sys(const char *target)
|
SV *_umount_sys(const char *target)
|
||||||
CODE:
|
CODE:
|
||||||
|
|
Loading…
Add table
Reference in a new issue