Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

9 results about "Ioctl" patented technology

In computing, ioctl (an abbreviation of input/output control) is a system call for device-specific input/output operations and other operations which cannot be expressed by regular system calls. It takes a parameter specifying a request code; the effect of a call depends completely on the request code. Request codes are often device-specific. For instance, a CD-ROM device driver which can instruct a physical device to eject a disc would provide an ioctl request code to do that. Device-independent request codes are sometimes used to give userspace access to kernel functions which are only used by core system software or still under development.

Packet receiving and sending test method and device driven by network card

The invention provides a network card driven packet receiving and sending test method and device, and relates to the field of drive function test.A test message is generated through a test application based on an IOCTL interface, a network card driver is triggered by means of an IOCTL command to execute packet receiving and sending logic, direct interaction with the driver is achieved, and the physical transmission link of hardware is skipped; and the software logic processing capability of the driver is directly tested. The function correctness is verified through the test result returned by the driver, the data returned by the network card driver is determined by the software logic of the driver, only the driver processing result and the expected result need to be compared in the whole process, and whether hardware actually completes physical transmission of the message or not does not need to be concerned. And the dependence on hardware is fundamentally eliminated.
Owner:SHENZHEN YIHUA CLOUD NETWORK TECH CO LTD

A GPU memory virtualization method and apparatus based on deep parsing of the ioctl protocol

This invention discloses a GPU memory virtualization method and apparatus based on deep parsing of the ioctl protocol, belonging to the field of electronic information technology. The method includes: intercepting ioctl system call requests initiated by the target container to obtain ioctl system call requests for GPU memory management; parsing its parameter blocks and extracting memory-related instructions to obtain memory-related instructions for subsequent auditing; constructing a shadow object tree and intelligently auditing memory allocation and mapping operations to obtain a precise memory usage ledger; determining whether the quota has been exceeded and executing interception during the physical admission control phase to obtain a control result on whether instruction pass-through is allowed; implementing view virtualization and returning virtualized memory information to the application in the target container to achieve transparent application adaptation, thereby completing precise virtualization isolation and multi-tenant secure sharing of GPU memory. This invention combines kernel-level control strength with user-space deployment flexibility.
Owner:XI AN JIAOTONG UNIV

Method and system for collecting system calls, and non-transitory tangible calculator readable medium

The present disclosure provides methods, systems, and non-transitory tangible calculator readable media for collecting system calls. In an optional embodiment, the present disclosure provides a method of collecting system calls for a particular process, comprising: providing an ioctl interface from a Linux kernel module (LKM), the LKM comprising a function callback function, configured such that when ioctl is used, the kernel module registers a callback function for the trace point, and all system calls are passed through the callback function; filtering a syscale with an identification (ID) of the specific process; and storing an index and a parameter of the syscale related to the specific process.
Owner:MEDIATEK INC

Interrupt fault tolerance and accelerated response method under heterogeneous platform

The invention discloses an interrupt fault tolerance and accelerated response method under a heterogeneous platform, which comprises the following steps of: in an interrupt service program, reading a first interrupt state indicating completion of data transmission and a second interrupt state of a user logic interrupt request in response to interrupt of an accelerator message signal, if the two are not interrupted, determining that the two are user logic interrupt, and if the two are not interrupted, determining that the two are user logic interrupt; if the first state shows that data transmission is completed, progressively increasing a kernel mode interruption count value, if the second state shows that an interruption request exists, progressively increasing the count value, and if the first state shows that data transmission is completed, processing as data transmission interruption; in an application layer thread, obtaining a kernel mode interrupt count value, comparing the kernel mode interrupt count value with an application layer processing count value, if the kernel mode count value is greater than the application layer count value, sending data to an accelerator and progressively increasing the application layer count value, and if the kernel mode count value is equal to the application layer count value, retrying after the thread is dormant for a first preset duration. The response is accelerated by IOCTL polling, and the stability of the system is ensured through intelligent dormancy.
Owner:南京威翔科技有限公司

System and method of blocking malicious activity of legitimate drivers

Disclosed are systems and methods for blocking the malicious activity of legitimate drivers. An example method comprises collecting information about protected objects and information about drivers loaded in an operating system (OS) of a computer system; detecting at least one legitimate driver using information about the drivers loaded into the OS and malicious activity detection rules; intercepting an Import Address Table (IAT) call and / or an input / output control (IOCTL) system call made by at least one legitimate driver; determining if the intercepted call is directed to a protected object and triggers a malicious activity detection rule that requires blocking of the intercepted call; and blocking the intercepted call from detected legitimate drivers directed to the protected object based on the triggered malicious activity detection rule.
Owner:AO KASPERSKY LAB

A method for fast copying of files in a file system

The application discloses a method for fast copying of internal files of a file system, and relates to the technical field of file copying, and comprises the following steps: S1, judging whether a source file exists; S2, opening the source file; S3, opening a target file, and creating the target file if the target file does not exist; and S4, calling an ioctl interface realized by the file system to complete the relevant index of data content and the target file. The method for fast copying of internal files of the file system is different from physical copying of a traditional file system, utilizes the support of an efficient Copy on Write of a btree data structure, realizes a logical copying operation of the file system, and when a file is to be copied, the system does not copy original data of the file, but copies metadata describing the file, so that the source file and the target file share a same physical storage space, the effect of file copying is achieved, the logical copying has a lower time delay, and a better space utilization rate is achieved.
Owner:BEIJING YAN RONG TECH CO LTD

Test method, device and electronic equipment for solid state disk

Embodiments of the present application provide a kind of solid state disk testing method, device and electronic equipment, wherein the method comprises: reading the memory address of control register stored in the target register of solid state disk;First virtual address is applied to mainboard, and test operation command for solid state disk is written in first virtual address;According to the first physical address corresponding to first virtual address determined by pre-configured physical page document, test operation command is written in first physical address according to preset protocol rule;First physical address is written in the memory address of control register;Test operation command is executed by control register, and test command execution result is obtained. In this way, avoid using encapsulated ioctl function, linux application layer can be realized to send test operation command to solid state disk, improve the test effect of solid state disk, reduce the test cost of solid state disk.
Owner:JIANGSU XINSHENG INTELLIGENT TECH CO LTD

Method for driving MIO device under VxWorks operating system

The application provides a method for driving MIO equipment under VxWorks operating system, and belongs to the technical field of airborne display, and specifically comprises the following steps: obtaining a self-defined MIO equipment component description file and an MIO driving registration function prototype from an MIO equipment driving layer; registering the MIO equipment driving in a kernel layer according to a compiling rule, initializing the MIO equipment driving, and configuring MIO equipment resources; changing a current interface state in real time on an application layer, and reinitializing the changed interface in the kernel layer; confirming the current interface state by an Ioctl function in the MIO equipment driving layer, and initializing corresponding equipment of the current interface; and communicating with the outside through the corresponding interface after the initialization of the interface corresponding equipment is completed. Through the processing scheme, the interface state of the current MIO can be changed on line, and the efficiency is improved.
Owner:SUZHOU CHANGFENG AVIATION ELECTRONICS

A hardware request scheduling method and system based on kernel ioctl hijacking

PendingCN122285237AComputer hardwarePriority inversion
This application provides a hardware request scheduling method and system based on kernel ioctl hijacking. The method includes: intercepting character device ioctl requests, obtaining the calling process attributes, request command codes, and parameters; rewriting the parameters of matching requests according to a pre-defined security equivalence rewriting rule verified by formal verification and differential fuzzing testing, while directly passing through unmatched requests; allocating the processed requests to corresponding priority queues according to process attributes, retrieving requests sequentially by priority and calling the device's original ioctl processing function, thereby enabling the request to be sent to the device driver for execution. This application does not require modification of existing drivers and user programs, and relies on verifiable ioctl hijacking and request aggregation mechanisms to avoid priority inversion problems and stably improve hardware scheduling throughput performance.
Owner:CHINA UNICOM INTERNET OF THINGS CO LTD +1