1、compat_ioctl:支持64bit的driver必须要实现的ioctl,当有32bit的userspace application call 64bit kernel的IOCTL的时候,这个callback会被调用到。如果没有实现compat_ioctl,那么32位的用户程序在64位的kernel上执行ioctl时会返回错误:Not a typewriter 2、如果是64位的用户程序运行在64位的kernel上,调用的是unlocke...
1、compat_ioctl:支持64bit的driver必须要实现的ioctl,当有32bit的userspace application call 64bit kernel的IOCTL的时候,这个callback会被调用到。如果没有实现compat_ioctl,那么32位的用户程序在64位的kernel上执行ioctl时会返回错误:Not a typewriter 2、如果是64位的用户程序运行在64位的kernel上,调用的是unlocke...
unlocked_ioctl与ioctl最大的不同是参数中少了inode,不过用户空间中ioctl对应的系统调用接口却没有变化,用户程序不需要改变。unlocked_ioctl最主要的改进是不再需要上大内核锁(调用之前不再先调用lock_kernel()然后再unlock_kernel()),内核的开发者试图朝移除大内核锁的方向努力。 compat_ioctl被用在用户空间为32位模...
Available add-ons Advanced Security Enterprise-grade security features GitHub Copilot Enterprise-grade AI features Premium Support Enterprise-grade 24/7 support Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of ...
支持Adaptec RAID控制器及compat mode(CONFIG_COMPAT)的Linux kernel 2.6.32.61, 2.6.34.14, 3.2.52, 3.4.67, 3.10.17, 3.11.6没有对compat ioctl例程进行验证,可导致绕过安全限制并执行未授权操作。 BUGTRAQ-ID:63888 CVE-ID:2013-6383 受影响系统: ...
_pre_compat_sys_ioctl+0x17125/0x30840 [falcon_lsm_serviceable] [15414404.366096] [<ffffffffc0d78a5e>] cshook_systemcalltable_pre_compat_sys_ioctl+0x174ce/0x30840 [falcon_lsm_serviceable] [15414404.366973] [<ffffffffc0d78bc0>] cshook_systemcalltable_pre_compat_sys_ioctl+0x17630/0x30840...
static long compat_pmu_ioctl (struct file *filp, u_int cmd, u_long arg) { switch (cmd) { case PMU_IOC_SLEEP: break; case PMU_IOC_GET_BACKLIGHT32: cmd = PMU_IOC_GET_BACKLIGHT; break; case PMU_IOC_SET_BACKLIGHT32: cmd = PMU_IOC_SET_BACKLIGHT; break; case PMU_IOC_GET_MODEL...
Message-ID: <515F6753.8080906@redhat.com> Date: Fri, 05 Apr 2013 18:07:47 -0600 From: Kurt Seifried <kseifried@...hat.com> To: oss-security@...ts.openwall.com CC: Marcus Meissner <meissner@...e.de> Subject: Re: CVE Request: kernel information leak in fs/compat_ioctl.c VIDEO_SE...
SparseTensorValue(indices, values, dense_shape) __new__ @staticmethod __new__( _cls, indices, values, dense_shape ) 1. 2. 3. 4. 5. 6. 7. Create new instance of SparseTensorValue(indices, values, dense_shape) Properties indices ...