October 2017
Intermediate to advanced
586 pages
14h 8m
English
When it comes to copying single and simple variables, such as char and int, but not larger data types, such as structures or arrays, the kernel offers dedicated macros in order to quickly perform the desired operation. These macros are put_user(x, ptr) and get_user(x, ptr), which are explained as follows: