systrace_args.c (d9a447559bc04121f7c6682e64abe67efa154864) | systrace_args.c (1dc31587bf980dbeab3db2d647675e44a290cd83) |
---|---|
1/* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * This file is part of the DTrace syscall provider. 7 */ 8 --- 3120 unchanged lines hidden (view full) --- 3129 /* cap_new */ 3130 case 514: { 3131 struct cap_new_args *p = params; 3132 iarg[0] = p->fd; /* int */ 3133 uarg[1] = p->rights; /* uint64_t */ 3134 *n_args = 2; 3135 break; 3136 } | 1/* 2 * System call argument to DTrace register array converstion. 3 * 4 * DO NOT EDIT-- this file is automatically generated. 5 * $FreeBSD$ 6 * This file is part of the DTrace syscall provider. 7 */ 8 --- 3120 unchanged lines hidden (view full) --- 3129 /* cap_new */ 3130 case 514: { 3131 struct cap_new_args *p = params; 3132 iarg[0] = p->fd; /* int */ 3133 uarg[1] = p->rights; /* uint64_t */ 3134 *n_args = 2; 3135 break; 3136 } |
3137 /* cap_getrights */ | 3137 /* cap_rights_get */ |
3138 case 515: { | 3138 case 515: { |
3139 struct cap_getrights_args *p = params; | 3139 struct cap_rights_get_args *p = params; |
3140 iarg[0] = p->fd; /* int */ 3141 uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */ 3142 *n_args = 2; 3143 break; 3144 } 3145 /* cap_enter */ 3146 case 516: { 3147 *n_args = 0; --- 133 unchanged lines hidden (view full) --- 3281 iarg[1] = p->id; /* int */ 3282 uarg[2] = (intptr_t) p->status; /* int * */ 3283 iarg[3] = p->options; /* int */ 3284 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */ 3285 uarg[5] = (intptr_t) p->info; /* siginfo_t * */ 3286 *n_args = 6; 3287 break; 3288 } | 3140 iarg[0] = p->fd; /* int */ 3141 uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */ 3142 *n_args = 2; 3143 break; 3144 } 3145 /* cap_enter */ 3146 case 516: { 3147 *n_args = 0; --- 133 unchanged lines hidden (view full) --- 3281 iarg[1] = p->id; /* int */ 3282 uarg[2] = (intptr_t) p->status; /* int * */ 3283 iarg[3] = p->options; /* int */ 3284 uarg[4] = (intptr_t) p->wrusage; /* struct __wrusage * */ 3285 uarg[5] = (intptr_t) p->info; /* siginfo_t * */ 3286 *n_args = 6; 3287 break; 3288 } |
3289 /* cap_rights_limit */ 3290 case 533: { 3291 struct cap_rights_limit_args *p = params; 3292 iarg[0] = p->fd; /* int */ 3293 uarg[1] = p->rights; /* uint64_t */ 3294 *n_args = 2; 3295 break; 3296 } 3297 /* cap_ioctls_limit */ 3298 case 534: { 3299 struct cap_ioctls_limit_args *p = params; 3300 iarg[0] = p->fd; /* int */ 3301 uarg[1] = (intptr_t) p->cmds; /* const u_long * */ 3302 uarg[2] = p->ncmds; /* size_t */ 3303 *n_args = 3; 3304 break; 3305 } 3306 /* cap_ioctls_get */ 3307 case 535: { 3308 struct cap_ioctls_get_args *p = params; 3309 iarg[0] = p->fd; /* int */ 3310 uarg[1] = (intptr_t) p->cmds; /* u_long * */ 3311 uarg[2] = p->maxcmds; /* size_t */ 3312 *n_args = 3; 3313 break; 3314 } 3315 /* cap_fcntls_limit */ 3316 case 536: { 3317 struct cap_fcntls_limit_args *p = params; 3318 iarg[0] = p->fd; /* int */ 3319 uarg[1] = p->fcntlrights; /* uint32_t */ 3320 *n_args = 2; 3321 break; 3322 } 3323 /* cap_fcntls_get */ 3324 case 537: { 3325 struct cap_fcntls_get_args *p = params; 3326 iarg[0] = p->fd; /* int */ 3327 uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */ 3328 *n_args = 2; 3329 break; 3330 } |
|
3289 default: 3290 *n_args = 0; 3291 break; 3292 }; 3293} 3294static void 3295systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3296{ --- 5175 unchanged lines hidden (view full) --- 8472 break; 8473 case 1: 8474 p = "uint64_t"; 8475 break; 8476 default: 8477 break; 8478 }; 8479 break; | 3331 default: 3332 *n_args = 0; 3333 break; 3334 }; 3335} 3336static void 3337systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) 3338{ --- 5175 unchanged lines hidden (view full) --- 8514 break; 8515 case 1: 8516 p = "uint64_t"; 8517 break; 8518 default: 8519 break; 8520 }; 8521 break; |
8480 /* cap_getrights */ | 8522 /* cap_rights_get */ |
8481 case 515: 8482 switch(ndx) { 8483 case 0: 8484 p = "int"; 8485 break; 8486 case 1: 8487 p = "uint64_t *"; 8488 break; --- 251 unchanged lines hidden (view full) --- 8740 break; 8741 case 5: 8742 p = "siginfo_t *"; 8743 break; 8744 default: 8745 break; 8746 }; 8747 break; | 8523 case 515: 8524 switch(ndx) { 8525 case 0: 8526 p = "int"; 8527 break; 8528 case 1: 8529 p = "uint64_t *"; 8530 break; --- 251 unchanged lines hidden (view full) --- 8782 break; 8783 case 5: 8784 p = "siginfo_t *"; 8785 break; 8786 default: 8787 break; 8788 }; 8789 break; |
8790 /* cap_rights_limit */ 8791 case 533: 8792 switch(ndx) { 8793 case 0: 8794 p = "int"; 8795 break; 8796 case 1: 8797 p = "uint64_t"; 8798 break; 8799 default: 8800 break; 8801 }; 8802 break; 8803 /* cap_ioctls_limit */ 8804 case 534: 8805 switch(ndx) { 8806 case 0: 8807 p = "int"; 8808 break; 8809 case 1: 8810 p = "const u_long *"; 8811 break; 8812 case 2: 8813 p = "size_t"; 8814 break; 8815 default: 8816 break; 8817 }; 8818 break; 8819 /* cap_ioctls_get */ 8820 case 535: 8821 switch(ndx) { 8822 case 0: 8823 p = "int"; 8824 break; 8825 case 1: 8826 p = "u_long *"; 8827 break; 8828 case 2: 8829 p = "size_t"; 8830 break; 8831 default: 8832 break; 8833 }; 8834 break; 8835 /* cap_fcntls_limit */ 8836 case 536: 8837 switch(ndx) { 8838 case 0: 8839 p = "int"; 8840 break; 8841 case 1: 8842 p = "uint32_t"; 8843 break; 8844 default: 8845 break; 8846 }; 8847 break; 8848 /* cap_fcntls_get */ 8849 case 537: 8850 switch(ndx) { 8851 case 0: 8852 p = "int"; 8853 break; 8854 case 1: 8855 p = "uint32_t *"; 8856 break; 8857 default: 8858 break; 8859 }; 8860 break; |
|
8748 default: 8749 break; 8750 }; 8751 if (p != NULL) 8752 strlcpy(desc, p, descsz); 8753} 8754static void 8755systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) --- 1795 unchanged lines hidden (view full) --- 10551 if (ndx == 0 || ndx == 1) 10552 p = "int"; 10553 break; 10554 /* cap_new */ 10555 case 514: 10556 if (ndx == 0 || ndx == 1) 10557 p = "int"; 10558 break; | 8861 default: 8862 break; 8863 }; 8864 if (p != NULL) 8865 strlcpy(desc, p, descsz); 8866} 8867static void 8868systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) --- 1795 unchanged lines hidden (view full) --- 10664 if (ndx == 0 || ndx == 1) 10665 p = "int"; 10666 break; 10667 /* cap_new */ 10668 case 514: 10669 if (ndx == 0 || ndx == 1) 10670 p = "int"; 10671 break; |
10559 /* cap_getrights */ | 10672 /* cap_rights_get */ |
10560 case 515: 10561 if (ndx == 0 || ndx == 1) 10562 p = "int"; 10563 break; 10564 /* cap_enter */ 10565 case 516: 10566 /* cap_getmode */ 10567 case 517: --- 65 unchanged lines hidden (view full) --- 10633 if (ndx == 0 || ndx == 1) 10634 p = "int"; 10635 break; 10636 /* wait6 */ 10637 case 532: 10638 if (ndx == 0 || ndx == 1) 10639 p = "int"; 10640 break; | 10673 case 515: 10674 if (ndx == 0 || ndx == 1) 10675 p = "int"; 10676 break; 10677 /* cap_enter */ 10678 case 516: 10679 /* cap_getmode */ 10680 case 517: --- 65 unchanged lines hidden (view full) --- 10746 if (ndx == 0 || ndx == 1) 10747 p = "int"; 10748 break; 10749 /* wait6 */ 10750 case 532: 10751 if (ndx == 0 || ndx == 1) 10752 p = "int"; 10753 break; |
10754 /* cap_rights_limit */ 10755 case 533: 10756 if (ndx == 0 || ndx == 1) 10757 p = "int"; 10758 break; 10759 /* cap_ioctls_limit */ 10760 case 534: 10761 if (ndx == 0 || ndx == 1) 10762 p = "int"; 10763 break; 10764 /* cap_ioctls_get */ 10765 case 535: 10766 if (ndx == 0 || ndx == 1) 10767 p = "ssize_t"; 10768 break; 10769 /* cap_fcntls_limit */ 10770 case 536: 10771 if (ndx == 0 || ndx == 1) 10772 p = "int"; 10773 break; 10774 /* cap_fcntls_get */ 10775 case 537: 10776 if (ndx == 0 || ndx == 1) 10777 p = "int"; 10778 break; |
|
10641 default: 10642 break; 10643 }; 10644 if (p != NULL) 10645 strlcpy(desc, p, descsz); 10646} | 10779 default: 10780 break; 10781 }; 10782 if (p != NULL) 10783 strlcpy(desc, p, descsz); 10784} |