Changes between Version 19 and Version 20 of Dev/KernelHack/COINS/worklog/201111


Ignore:
Timestamp:
Nov 25, 2011 2:52:22 PM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Dev/KernelHack/COINS/worklog/201111

    v19 v20  
    41444144parm:           entry:max entry number (int) 
    41454145}}} 
     4146 
     4147 = 11/25 = 
     4148 == additional test for new_debug syscall == 
     4149 * new_debug-err.c 
     4150{{{#!cc 
     4151#include <stdio.h> 
     4152#include <time.h> 
     4153#include <asm/new_debug.h> 
     4154 
     4155int main (int argc, char *argv[]) { 
     4156        int i; 
     4157        const struct timespec *ts = ""; 
     4158         
     4159        if (new_debug(NULL, NULL)) { 
     4160                perror(""); 
     4161        } 
     4162        if (new_debug("", ts)) { 
     4163                perror(""); 
     4164        } 
     4165         
     4166        return 0; 
     4167} 
     4168}}} 
     4169 
     4170 * s0711489@ubuntu-lucid64:~$ gcc -I /lib/modules/2.6.35.14/build/arch/x86/include/ new_debug-err.c 
     4171{{{ 
     4172new_debug-err.c: In function ‘main’: 
     4173new_debug-err.c:7: warning: initialization from incompatible pointer type 
     4174}}} 
     4175 * s0711489@ubuntu-lucid64:~$ ./a.out 
     4176{{{ 
     4177Invalid argument 
     4178Bad address 
     4179}}}