G06F9/4486

METHOD FOR IMPLEMENTING LINUX KERNEL HOT PATCH, ELECTRONIC DEVICE, AND COMPUTER READABLE MEDIUM
20230016250 · 2023-01-19 ·

A method for implementing LINUX kernel hot patch, an electronic device and a computer readable medium, the method includes: modifying header instruction code of a patched function in an atomic operation mode, and jumping directly or indirectly from a patched function address to a patching function address to activate a patching function. The method for implementing LINUX kernel hot patch can achieve the activation of the patching function without restarting the LINUX system.

FUNCTION EXECUTION IN SYSTEM MANAGEMENT MODES
20230013428 · 2023-01-19 ·

In some examples, executable code causes a processor to execute a first function and enter a system management mode responsive to receipt of a first system management interrupt during the execution of the first function. The executable code causes the processor to pause execution of the first function, save a state of the processor in the system management mode, and exit the system management mode. The executable code causes the processor to execute a second function identified by the first system management interrupt and receive a second system management interrupt to enter the system management mode. The executable code causes the processor to restore the state of the processor in the system management mode and exit the system management mode. The executable code causes the processor to resume execution of the first function after exiting the system management mode.

Implementation of multi-tasking on a digital signal processor with a hardware stack
09841994 · 2017-12-12 · ·

The present invention relates to the implementation for implementing multi-tasking on a digital signal processor. For that purpose blocking functions are arranged such that they do not make use of a processor's hardware stack. Respective function calls are replaced with a piece of inline assembly code, which instead performs a branch to the correct routine for carrying out said function. If a blocking condition of the blocking function is encountered, a task switch can be done to resume another task. While the hardware stack is not used when a task switch might have to occur, mixed-up contents of the hardware stack among function calls performed by different tasks are avoided.

Method, device and computer program product for thread management
11494185 · 2022-11-08 · ·

Techniques for managing threads involve acquiring respective runtime addresses and call information of a plurality of lock objects in a plurality of threads, and determining, from the plurality of lock objects, a first group of lock objects associated with first call information and a second group of lock objects associated with second call information different from the first call information. The techniques further involve providing an indication that a deadlock exists in the plurality of threads if it is determined that a first group of runtime addresses of the first group of lock objects overlaps with a second group of runtime addresses of the second group of lock objects. Accordingly, potential deadlocks in a plurality of threads can be analyzed, thereby avoiding the inability of the threads to proceed normally due to the deadlocks.

Producer computing system leasing on behalf of consumer computing system

Processes and systems are disclosed for leasing a producer virtual machine on behalf of a consumer virtual machine in an overlay network. The consumer host of the consumer virtual machine can communicate with a set of leasing agents to obtain the identity of a number of producer virtual machines capable of providing the consumer virtual machine with access to a service. When the consumer virtual machine attempts to communicate with a producer system, the consumer host can identify a producer host that hosts a target producer virtual machine and redirect a service request to the producer host.

Multi-endpoint method implementation

Methods and systems for implementing multi-endpoint methods are disclosed. For example, an Application Programming Interface (“API”) executing on a processor receives a first request to execute a first method. The API processes the first request with an active context including a list of implementations, the list including one or more implementations of a plurality of implementations respectively associated with a plurality of endpoints including a first endpoint and a first implementation. The API is determined to be executing in either a preferential mode or a strict mode. In preferential mode the API selects preferential implementation from the plurality of implementations. In strict mode, the API selects a selected implementation from the list of implementations. The API either selects the first implementation or a preferred implementation. The first request is then processed by either the first endpoint or another endpoint associated with the preferential implementation.

Conditional branch frame barrier
11249758 · 2022-02-15 · ·

Establishing a conditional branch frame barrier is described. A conditional branch in a function epilogue is used to provide frame-specific control. The conditional branch evaluates a return condition to determine whether to return from a callee function to a calling function, or to execute a slow path instead. The return condition is evaluated based on a thread local value. The thread local value is set such that returns to potentially unsafe frames in a call stack are prohibited. The prohibition to return to a potentially unsafe frame may be referred to as a “frame barrier.” Additionally, the thread local value may be used to establish safepointing and/or thread local handshakes, both after execution of a function body and after execution of a loop body.

Application processing method and apparatus

Embodiments of the present specification provide an application processing method and apparatus. The method includes: checking whether an invoking condition corresponding to a jump control of a home application is triggered; in response to the invoking condition being triggered, invoking the jump control and displaying a jump window of the jump control on a current interface; and in response to an operation of jumping to a destination application triggered by a user through the jump window, redirecting the user from the current interface to an interface corresponding to the destination application. The jump control is associated with at least one destination application, and the destination application includes one or more of a sub-application of the home application or another application.

METHOD AND SYSTEM FOR EXECUTING NEW INSTRUCTIONS
20220206813 · 2022-06-30 ·

A method for executing new instructions is provided. The method is used in a processor and includes: receiving an instruction; when the received instruction is an unknown instruction, the processor executes the following steps through a conversion program: determining whether the received instruction is a new instruction; and converting the received instruction into at least one old instruction when the received instruction is a new instruction; and simulating the execution of the received instruction by executing the at least one old instruction.

Enforcing a segmentation policy in co-existence with a system firewall

A segmentation firewall executing on a host enforces a segmentation policy. In a co-existence mode, the segmentation firewall operates in co-existence with a system firewall that enforces a security policy. The segmentation firewall is configured to either drop packets that do not match any permissive rule or pass packets that match a permissive rule to the system firewall to enable the system firewall to determine whether to drop or accept the passed packets. To enable efficient operation of the segmentation firewall when operating in co-existence with the system firewall, the segmentation firewall may include a plurality of rule chains and may be configured to exit a chain and bypass remaining rule chains upon an input packet matching a permissive rule of the segmentation policy.