@@ -39,7 +39,7 @@ static int ext4_unregister_sysfs_fn(struct super_block *sb)
3939 char buf [32 ] = {0 };
4040
4141 if (!symaddr ) {
42- pr_info ("nuke_ext4: symaddr not provided!\n" );
42+ pr_info ("mountify/ nuke_ext4: symaddr not provided!\n" );
4343 return - EINVAL ;
4444 }
4545
@@ -51,11 +51,11 @@ static int ext4_unregister_sysfs_fn(struct super_block *sb)
5151 // if strstarts symbol
5252 // output is like "ext4_unregister_sysfs+0x0/0x70"
5353 if (!!strncmp (buf , sym , strlen (sym ))) {
54- pr_info ("nuke_ext4: wrong symbol!? %s found!\n" , buf );
54+ pr_info ("mountify/ nuke_ext4: wrong symbol!? %s found!\n" , buf );
5555 return - EAGAIN ;
5656 }
5757
58- pr_info ("nuke_ext4: sprint_symbol 0x%lx: %s\n" , symaddr , buf );
58+ pr_info ("mountify/ nuke_ext4: sprint_symbol 0x%lx: %s\n" , symaddr , buf );
5959 ext4_unregister_sysfs_ptr = (void (* )(struct super_block * ))symaddr ;
6060 ext4_unregister_sysfs_ptr (sb );
6161 return 0 ;
@@ -64,24 +64,24 @@ static int ext4_unregister_sysfs_fn(struct super_block *sb)
6464static int __init nuke_entry (void )
6565{
6666 struct path path ;
67- pr_info ("nuke_ext4: init with symaddr: 0x%lx mount_point: %s\n" , symaddr , mount_point );
67+ pr_info ("mountify/ nuke_ext4: init with symaddr: 0x%lx mount_point: %s\n" , symaddr , mount_point );
6868
6969 // kang from ksu
7070 int err = kern_path (mount_point , 0 , & path );
7171 if (err ) {
72- pr_info ("nuke_ext4: kern_path failed: %d\n" , err );
72+ pr_info ("mountify/ nuke_ext4: kern_path failed: %d\n" , err );
7373 return - EAGAIN ;
7474 }
7575
7676 struct super_block * sb = path .dentry -> d_inode -> i_sb ;
7777 const char * name = sb -> s_type -> name ;
7878 if (strcmp (name , "ext4" ) != 0 ) {
79- pr_info ("nuke_ext4: not ext4\n" );
79+ pr_info ("mountify/ nuke_ext4: not ext4\n" );
8080 path_put (& path );
8181 return - EAGAIN ;
8282 }
8383
84- pr_info ("nuke_ext4: unregistering sysfs node for ext4 volume (%s)\n" , sb -> s_id );
84+ pr_info ("mountify/ nuke_ext4: unregistering sysfs node for ext4 volume (%s)\n" , sb -> s_id );
8585 ext4_unregister_sysfs_fn (sb );
8686 path_put (& path );
8787
@@ -92,12 +92,12 @@ static int __init nuke_entry(void)
9292
9393 err = kern_path (procfs_path , 0 , & path );
9494 if (!err ) {
95- pr_info ("nuke_ext4: procfs node still exists at %s\n" , procfs_path );
95+ pr_info ("mountify/ nuke_ext4: procfs node still exists at %s\n" , procfs_path );
9696 path_put (& path );
9797 } else
98- pr_info ("nuke_ext4: procfs node nuked (%s is gone)\n" , procfs_path );
98+ pr_info ("mountify/ nuke_ext4: procfs node nuked (%s is gone)\n" , procfs_path );
9999
100- pr_info ("nuke_ext4: unload\n" );
100+ pr_info ("mountify/ nuke_ext4: unload\n" );
101101 return - EAGAIN ;
102102}
103103
0 commit comments