摘要:        
#include #include #include #include #include int main() { int a; char s[100]; printf("Give me a string:\n"); scanf("%s",s); syscall(328,s,strlen(s),&a); syscall(327,a); ...    阅读全文
posted @ 2019-04-29 20:20
fqqq
阅读(268)
评论(0)
推荐(0)
        
            
        
        
摘要:        
asmlinkage void sys_print_val(int a) { printk("in sys_print_val: %d\n",a); return; } asmlinkage void sys_str2num(char __user *str, int str_len, int __user *ret) { char s[1000]; int n...    阅读全文
posted @ 2019-04-29 20:13
fqqq
阅读(198)
评论(0)
推荐(0)
        
            
        
        
摘要:        
#include #include void exec(char cmd[]) { int f = 0, i, l; l = strlen(cmd); for (i = 0; i "); i = 0; while ((c = getchar()) != '\n') { if (c != ';')...    阅读全文
posted @ 2019-04-29 19:40
fqqq
阅读(304)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号