1. A method comprising: setting, by an operating system kernel, an access permission level of a descriptor table to a first permission level; receiving, from a function by the operating system kernel, a request to update the descriptor table; in response to receiving the request to update the descriptor table, determining, by the operating system kernel, whether the function is an operating system function or a function for another application; determining, by the operating system kernel, that the function is an operating system function, wherein the operating system kernel is different from the operating system function; in response to determining that the function is an operating system function, changing, by the operating system kernel, the access permission level of the descriptor table to a second permission level different than the first permission level; updating, by the operating system kernel, the descriptor table while the access permission level of the descriptor table is the second permission level; and after updating the descriptor table, changing, by the operating system kernel, the access permission level of the descriptor table to the first permission level.