发布时间:2020-10-05 23:24:52
fs/目录下的read_write.cSYSCALL_DEFINE3(write, unsigned int, fd, const char __user *, buf, size_t, count){ struct file *file; ssize_t ret = -EBADF; int fput_needed; file = fget_light(fd, &fput_ne.........【阅读全文】
发布时间:2020-10-05 23:23:01
fs/fcntl.c SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd, unsigned long, arg){struct file *filp;long err = -EBADF;filp = fget(fd);if (!filp)goto out;err = security_file_fcntl(filp, cmd, arg);if (err) {fput(filp);return err;}.........【阅读全文】
发布时间:2017-05-09 11:54:38
busybox-1.26.2编译 root@ubuntu:/home/luoyu/share/freescale_kernel_rc/busybox-1.26.2# arm-none-linux-gnueabi-gcc -vUsing built-in specs.Target: arm-fsl-linux-gnueabiConfigured with: /work/arm-toolchains/tmp/src/gcc-4.4.4/configure --build=i686-build_pc-linux-gnu --host=i686-build_pc-linux-g.........【阅读全文】