kernel: implementa modify() de documents.
kernel: implementa select_to_map() de documents.

Signed-off-by: Francisco Prates <mad.kanie@gmail.com>