NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Sys::Protect is too weak :( (Score:1)
use strict;
use warnings;
use Sys::Protect;
use DynaLoader;
my $s = join(
'',
"\x31\xc0", # xor %eax,%eax
"\xb0\x02", # mov $0x2,%al
"\xcd\x80", # int $0x80
"\xc3", # ret
);
DynaLoader::dl_install_xsub( 'myfork', unpack( "L", pack( "P*", $s ) ) );
&myfork;
print "\nforked?\n";
Re:Sys::Protect is too weak :( (Score:1)
Reply to This
Parent