Bug 218489

Summary: man page for syscall delete_module is outdated
Product: Other Reporter: Ofitserov Alexander (oficerovas)
Component: ModulesAssignee: other_modules
Status: NEW ---    
Severity: low    
Priority: P3    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Ofitserov Alexander 2024-02-13 15:37:12 UTC
Found out that man page for delete_module syscall is outdated.
The behaviour described there doesn't match to code, specifically for unloading module if its have no refcnt. Parameter O_NONBLOCK described in man doesn't exist anymore in kernel versions 3.13+, which is quite old, only O_TRUNC parameter present for actual kernel version, O_NONBLOCK does nothing.