/linux-2.4.37.9/arch/mips/kernel/ |
D | unaligned.c | 145 if (verify_area(VERIFY_READ, addr, 2)) in emulate_load_store_insn() 178 if (verify_area(VERIFY_READ, addr, 4)) in emulate_load_store_insn() 208 if (verify_area(VERIFY_READ, addr, 2)) in emulate_load_store_insn() 250 if (verify_area(VERIFY_READ, addr, 4)) in emulate_load_store_insn() 294 if (verify_area(VERIFY_READ, addr, 8)) in emulate_load_store_insn() 328 if (verify_area(VERIFY_WRITE, addr, 2)) in emulate_load_store_insn() 364 if (verify_area(VERIFY_WRITE, addr, 4)) in emulate_load_store_insn() 402 if (verify_area(VERIFY_WRITE, addr, 8)) in emulate_load_store_insn()
|
D | irixsig.c | 399 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in irix_sigaction() 418 if (verify_area(VERIFY_WRITE, oact, sizeof(*oact)) || in irix_sigaction() 440 error = verify_area(VERIFY_READ, new, sizeof(*new)); in irix_sigprocmask() 472 error = verify_area(VERIFY_WRITE, old, sizeof(*old)); in irix_sigprocmask() 559 error = verify_area(VERIFY_READ, set, sizeof(kset)); in irix_sigpoll_sys() 573 error = verify_area(VERIFY_READ, tp, sizeof(*tp)); in irix_sigpoll_sys() 649 retval = verify_area(VERIFY_WRITE, info, sizeof(*info)); in irix_waitsys() 653 retval = verify_area(VERIFY_WRITE, ru, sizeof(*ru)); in irix_waitsys() 777 error = verify_area(VERIFY_WRITE, ctx, sizeof(*ctx)); in irix_getcontext() 826 error = verify_area(VERIFY_READ, ctx, sizeof(*ctx)); in irix_setcontext() [all …]
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | unaligned.c | 145 if (verify_area(VERIFY_READ, addr, 2)) in emulate_load_store_insn() 178 if (verify_area(VERIFY_READ, addr, 4)) in emulate_load_store_insn() 208 if (verify_area(VERIFY_READ, addr, 2)) in emulate_load_store_insn() 250 if (verify_area(VERIFY_READ, addr, 4)) in emulate_load_store_insn() 294 if (verify_area(VERIFY_READ, addr, 8)) in emulate_load_store_insn() 328 if (verify_area(VERIFY_WRITE, addr, 2)) in emulate_load_store_insn() 364 if (verify_area(VERIFY_WRITE, addr, 4)) in emulate_load_store_insn() 402 if (verify_area(VERIFY_WRITE, addr, 8)) in emulate_load_store_insn()
|
/linux-2.4.37.9/fs/umsdos/ |
D | notes | 6 There is a call the verify_area that does not take in account 9 error = verify_area(VERIFY_WRITE, dirent, count*sizeof (*dirent)); 13 error = verify_area(VERIFY_WRITE, dirent, sizeof (*dirent));
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | signal.c | 165 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction() 177 if (verify_area(VERIFY_WRITE, oact, sizeof(*oact)) || in sys_sigaction() 362 if (verify_area(VERIFY_WRITE, (void *) newsp, origsp - newsp)) in handle_rt_signal() 425 if (verify_area(VERIFY_WRITE, old_ctx, sizeof(*old_ctx)) in sys_swapcontext() 434 if (verify_area(VERIFY_READ, new_ctx, sizeof(*new_ctx)) in sys_swapcontext() 463 if (verify_area(VERIFY_READ, rt_sf, sizeof(struct rt_sigframe))) in sys_rt_sigreturn() 509 if (verify_area(VERIFY_WRITE, (void *) newsp, origsp - newsp)) in handle_signal() 564 if (verify_area(VERIFY_READ, sr, sizeof(*sr)) in sys_sigreturn()
|
D | syscalls.c | 84 if ((ret = verify_area(VERIFY_READ, ptr, sizeof(long))) in sys_ipc() 100 if ((ret = verify_area(VERIFY_READ, ptr, sizeof(tmp))) in sys_ipc() 126 if ((ret = verify_area(VERIFY_WRITE, (ulong*) third, in sys_ipc() 249 if (verify_area(VERIFY_READ, buffer, 5*sizeof(unsigned long)) in ppc_select()
|
/linux-2.4.37.9/drivers/mtd/ |
D | mtdchar.c | 257 ret = verify_area(VERIFY_READ, (char *)arg, size); in mtd_ioctl() 261 ret = verify_area(VERIFY_WRITE, (char *)arg, size); in mtd_ioctl() 366 ret = verify_area(VERIFY_READ, (char *)buf.ptr, buf.length); in mtd_ioctl() 405 ret = verify_area(VERIFY_WRITE, (char *)buf.ptr, buf.length); in mtd_ioctl() 468 ret = verify_area(VERIFY_READ, (char *)buf.ptr, buf.length); in mtd_ioctl() 507 ret = verify_area(VERIFY_WRITE, (char *)buf.ptr, buf.length); in mtd_ioctl()
|
/linux-2.4.37.9/arch/mips/math-emu/ |
D | dsemul.c | 98 if (unlikely(verify_area(VERIFY_WRITE, fr, sizeof(struct emuframe)))) in mips_dsemul() 131 if (verify_area(VERIFY_READ, fr, sizeof(struct emuframe))) in do_dsemulret()
|
/linux-2.4.37.9/drivers/macintosh/ |
D | nvram.c | 44 if (verify_area(VERIFY_WRITE, buf, count)) in read_nvram() 63 if (verify_area(VERIFY_READ, buf, count)) in write_nvram()
|
/linux-2.4.37.9/drivers/net/wan/lmc/ |
D | lmc_ver.h | 113 #define LMC_COPY_FROM_USER(x, y, z) if(verify_area(VERIFY_READ, (y), (z))) \ 117 #define LMC_COPY_TO_USER(x, y, z) if(verify_area(VERIFY_WRITE, (x), (z))) \
|
/linux-2.4.37.9/drivers/net/wan/ |
D | sdla_ft1.c | 287 if (!u_cmd || verify_area(VERIFY_WRITE, u_cmd, sizeof(ft1_exec_cmd_t))){ in wpft1_exec() 296 if (!u_data || verify_area(VERIFY_READ, u_data, len)) in wpft1_exec() 309 if (len && u_data && !verify_area(VERIFY_WRITE, u_data, len)){ in wpft1_exec()
|
/linux-2.4.37.9/drivers/isdn/eicon/ |
D | linchr.c | 52 if (!verify_area(VERIFY_WRITE, pUserCards, 20)) in do_ioctl() 83 if (!verify_area(VERIFY_READ, DivaLoad.code,DivaLoad.length)) in do_ioctl()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | syscalls.c | 88 if ((ret = verify_area (VERIFY_READ, ptr, sizeof(long))) in sys_ipc() 104 if ((ret = verify_area (VERIFY_READ, ptr, sizeof(tmp))) in sys_ipc() 130 if ((ret = verify_area(VERIFY_WRITE, (ulong*) third, in sys_ipc()
|
D | signal.c | 205 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys_sigaction() 216 if (verify_area(VERIFY_WRITE, oact, sizeof(*oact)) || in sys_sigaction() 344 if (verify_area(VERIFY_READ, uc, sizeof(*uc))) in sys_rt_sigreturn() 388 if (verify_area(VERIFY_WRITE, frame, sizeof(*frame))) in setup_rt_frame() 454 if (verify_area(VERIFY_READ, sc, sizeof(*sc))) in sys_sigreturn() 489 if (verify_area(VERIFY_WRITE, frame, sizeof(*frame))) in setup_frame()
|
/linux-2.4.37.9/drivers/video/ |
D | sbusfb.c | 555 i = verify_area (VERIFY_WRITE, (void *) arg, sizeof (struct fbgattr)); in sbusfb_ioctl() 572 i = verify_area (VERIFY_READ, (void *) arg, sizeof (struct fbsattr)); in sbusfb_ioctl() 607 i = verify_area (VERIFY_READ, (void *) arg, sizeof (struct fbcmap)); in sbusfb_ioctl() 621 if (verify_area (VERIFY_WRITE, rp, count)) in sbusfb_ioctl() 623 if (verify_area (VERIFY_WRITE, gp, count)) in sbusfb_ioctl() 625 if (verify_area (VERIFY_WRITE, bp, count)) in sbusfb_ioctl() 645 i = verify_area (VERIFY_READ, (void *) arg, sizeof (struct fbcmap)); in sbusfb_ioctl() 659 if (verify_area (VERIFY_READ, rp, count)) in sbusfb_ioctl() 661 if (verify_area (VERIFY_READ, gp, count)) in sbusfb_ioctl() 663 if (verify_area (VERIFY_READ, bp, count)) in sbusfb_ioctl() [all …]
|
/linux-2.4.37.9/drivers/sbus/char/ |
D | jsflash.c | 288 if (verify_area(VERIFY_WRITE, buf, togo)) in jsf_read() 397 if (verify_area(VERIFY_READ, (void *)arg, JSFPRGSZ)) in jsf_ioctl_program() 405 if (verify_area(VERIFY_READ, uptr, togo)) in jsf_ioctl_program() 427 if (verify_area(VERIFY_WRITE, (void *)arg, JSFIDSZ)) in jsf_ioctl()
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | unaligned.c | 437 retval = verify_area(check, WINREG_ADDR(reg - 16), size); in ok_for_user() 443 retval = verify_area(check, WINREG_ADDR(reg - 16), size); in ok_for_user() 450 retval = verify_area(check, WINREG_ADDR(reg - 16), size); in ok_for_user()
|
/linux-2.4.37.9/include/asm-mips64/ |
D | uaccess.h | 130 static inline int verify_area(int type, const void * addr, unsigned long size) in verify_area() function 255 __gu_err = verify_area(VERIFY_READ, (void *) __gu_addr, size); \ 345 __pu_err = verify_area(VERIFY_WRITE, (void *) __pu_addr, size); \
|
/linux-2.4.37.9/include/asm-mips/ |
D | uaccess.h | 130 static inline int verify_area(int type, const void * addr, unsigned long size) in verify_area() function 255 __gu_err = verify_area(VERIFY_READ, (void *) __gu_addr, size); \ 345 __pu_err = verify_area(VERIFY_WRITE, (void *) __pu_addr, size); \
|
/linux-2.4.37.9/drivers/char/ |
D | consolemap.c | 264 i = verify_area(VERIFY_READ, (void *)arg, E_TABSZ); in con_set_trans_old() 283 i = verify_area(VERIFY_WRITE, (void *)arg, E_TABSZ); in con_get_trans_old() 300 i = verify_area(VERIFY_READ, (void *)arg, in con_set_trans_new() 320 i = verify_area(VERIFY_WRITE, (void *)arg, in con_get_trans_new()
|
/linux-2.4.37.9/net/wanrouter/ |
D | wanmain.c | 570 err = verify_area (VERIFY_READ, u_conf, sizeof(wandev_conf_t)); in device_setup() 633 err = verify_area(VERIFY_READ, conf->data, conf->data_size); in device_setup() 717 err = verify_area(VERIFY_WRITE, u_stat, sizeof(wandev_stat_t)); in device_stat() 768 err = verify_area(VERIFY_READ, u_conf, sizeof(wanif_conf_t)); in device_new_if() 915 err = verify_area(VERIFY_READ, u_name, WAN_IFNAME_SZ); in device_del_if()
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | sys_ia32.c | 98 if (verify_area(VERIFY_WRITE, ubuf, sizeof(struct stat32)) || in putstat() 199 if (verify_area(VERIFY_WRITE, ubuf, sizeof(struct stat64)) || in putstat64() 389 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys32_rt_sigaction() 429 if (verify_area(VERIFY_WRITE, oact, sizeof(*oact)) || in sys32_rt_sigaction() 450 if (verify_area(VERIFY_READ, act, sizeof(*act)) || in sys32_sigaction() 464 if (verify_area(VERIFY_WRITE, oact, sizeof(*oact)) || in sys32_sigaction() 518 if (verify_area(VERIFY_WRITE, ubuf, sizeof(struct statfs32)) || in put_statfs() 999 if (verify_area(VERIFY_READ, rqtp, sizeof(struct timespec32)) || in sys32_nanosleep() 1008 if (verify_area(VERIFY_WRITE, rmtp, sizeof(struct timespec32)) || in sys32_nanosleep() 1036 if(verify_area(VERIFY_READ, iov32, sizeof(struct iovec32)**count)) in get_iovec32() [all …]
|
/linux-2.4.37.9/drivers/cdrom/ |
D | sjcd.c | 802 verify_area(VERIFY_READ, (void *) arg, in sjcd_ioctl() 843 verify_area(VERIFY_READ, (void *) arg, in sjcd_ioctl() 886 verify_area(VERIFY_WRITE, (void *) arg, in sjcd_ioctl() 903 verify_area(VERIFY_WRITE, (void *) arg, in sjcd_ioctl() 957 verify_area(VERIFY_WRITE, (void *) arg, in sjcd_ioctl() 1013 verify_area(VERIFY_READ, (void *) arg, in sjcd_ioctl() 1048 verify_area(VERIFY_WRITE, (void *) arg, in sjcd_ioctl()
|
/linux-2.4.37.9/drivers/char/rio/ |
D | rio_linux.c | 734 if ((rc = verify_area(VERIFY_READ, (void *) arg, in rio_ioctl() 743 if ((rc = verify_area(VERIFY_WRITE, (void *) arg, in rio_ioctl() 773 if ((rc = verify_area(VERIFY_READ, (void *) arg, in rio_ioctl() 779 if ((rc = verify_area(VERIFY_WRITE, (void *) arg, in rio_ioctl() 786 if ((rc = verify_area(VERIFY_READ, (void *) arg, in rio_ioctl() 794 if ((rc = verify_area(VERIFY_READ, (void *) arg, in rio_ioctl() 802 if ((rc = verify_area(VERIFY_READ, (void *) arg, in rio_ioctl()
|
/linux-2.4.37.9/drivers/scsi/ |
D | scsi_ioctl.c | 207 if (verify_area(VERIFY_READ, sic, sizeof(Scsi_Ioctl_Command))) in scsi_ioctl_send_command() 262 if (verify_area(VERIFY_READ, cmd_in, cmdlen + inlen)) in scsi_ioctl_send_command() 417 if (verify_area(VERIFY_WRITE, arg, sizeof(Scsi_Idlun))) in scsi_ioctl()
|