Changeset 170 for trunk/src/sh_calls.c
- Timestamp:
- Apr 30, 2008, 11:56:45 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_calls.c
r169 r170 59 59 typedef struct cht_struct 60 60 { 61 c har * str;61 const char * str; 62 62 unsigned long val; 63 63 } cht_type; … … 109 109 /* Need to catch EINTR for these functions. 110 110 */ 111 long int retry_sigaction(c har * file, int line,111 long int retry_sigaction(const char * file, int line, 112 112 int signum, const struct sigaction *act, 113 113 struct sigaction *oldact) … … 156 156 157 157 158 long int retry_connect(c har * file, int line, int sockfd,158 long int retry_connect(const char * file, int line, int sockfd, 159 159 struct sockaddr *serv_addr, int addrlen) 160 160 { … … 209 209 } 210 210 211 long int retry_accept(c har * file, int line, int fd,211 long int retry_accept(const char * file, int line, int fd, 212 212 struct sockaddr *serv_addr, int * addrlen) 213 213 { … … 236 236 } 237 237 238 long int retry_lstat(c har * file, int line,238 long int retry_lstat(const char * file, int line, 239 239 const char *file_name, struct stat *buf) 240 240 { … … 259 259 } 260 260 261 long int retry_stat(c har * file, int line,261 long int retry_stat(const char * file, int line, 262 262 const char *file_name, struct stat *buf) 263 263 { … … 282 282 } 283 283 284 long int retry_fstat(c har * file, int line, int filed, struct stat *buf)284 long int retry_fstat(const char * file, int line, int filed, struct stat *buf) 285 285 { 286 286 int error; … … 303 303 } 304 304 305 long int retry_fcntl(c har * file, int line, int fd, int cmd, long arg)305 long int retry_fcntl(const char * file, int line, int fd, int cmd, long arg) 306 306 { 307 307 int error; … … 389 389 ***************************************************/ 390 390 391 long int retry_aud_execve (c har * file, int line,391 long int retry_aud_execve (const char * file, int line, 392 392 const char *dateiname, char * argv[], 393 393 char * envp[]) … … 419 419 420 420 421 long int retry_aud_utime (c har * file, int line,422 421 long int retry_aud_utime (const char * file, int line, 422 char * path, struct utimbuf *buf) 423 423 { 424 424 long int val_return; … … 450 450 } 451 451 452 long int retry_aud_unlink (c har * file, int line,452 long int retry_aud_unlink (const char * file, int line, 453 453 char * path) 454 454 { … … 477 477 } 478 478 479 long int retry_aud_dup2 (c har * file, int line,479 long int retry_aud_dup2 (const char * file, int line, 480 480 int fd, int fd2) 481 481 { … … 504 504 } 505 505 506 long int retry_aud_dup (c har * file, int line,506 long int retry_aud_dup (const char * file, int line, 507 507 int fd) 508 508 { … … 532 532 533 533 534 long int retry_aud_chdir (c har * file, int line,534 long int retry_aud_chdir (const char * file, int line, 535 535 const char *path) 536 536 { … … 560 560 561 561 562 long int aud_open_noatime (c har * file, int line, int privs,562 long int aud_open_noatime (const char * file, int line, int privs, 563 563 const char *pathname, int flags, mode_t mode, 564 564 int * o_noatime) … … 601 601 } 602 602 603 long int aud_open (c har * file, int line, int privs,603 long int aud_open (const char * file, int line, int privs, 604 604 const char *pathname, int flags, mode_t mode) 605 605 { … … 635 635 } 636 636 637 long int aud_kill (c har * file, int line, pid_t pid, int sig)637 long int aud_kill (const char * file, int line, pid_t pid, int sig) 638 638 { 639 639 int myerror; … … 657 657 658 658 /*@noreturn@*/ 659 void aud_exit (c har * file, int line, int fd)659 void aud_exit (const char * file, int line, int fd) 660 660 { 661 661 if (sh.flag.audit != 0 && (sh.flag.aud_mask & AUD_EXIT) != 0) … … 670 670 671 671 /*@noreturn@*/ 672 void aud__exit (c har * file, int line, int fd)672 void aud__exit (const char * file, int line, int fd) 673 673 { 674 674 if (sh.flag.audit != 0 && (sh.flag.aud_mask & AUD_EXIT) != 0) … … 682 682 } 683 683 684 pid_t aud_fork (c har * file, int line)684 pid_t aud_fork (const char * file, int line) 685 685 { 686 686 int error; … … 703 703 } 704 704 705 int aud_setuid (c har * file, int line, uid_t uid)705 int aud_setuid (const char * file, int line, uid_t uid) 706 706 { 707 707 int error = 0; … … 731 731 } 732 732 733 int aud_setgid (c har * file, int line, gid_t gid)733 int aud_setgid (const char * file, int line, gid_t gid) 734 734 { 735 735 int error = 0; … … 760 760 } 761 761 762 int aud_pipe (c har * file, int line, int * modus)762 int aud_pipe (const char * file, int line, int * modus) 763 763 { 764 764 int error;
Note:
See TracChangeset
for help on using the changeset viewer.