• D
    proc: Add a way to make network proc files writable · 564def71
    David Howells 提交于
    Provide two extra functions, proc_create_net_data_write() and
    proc_create_net_single_write() that act like their non-write versions but
    also set a write method in the proc_dir_entry struct.
    
    An internal simple write function is provided that will copy its buffer and
    hand it to the pde->write() method if available (or give an error if not).
    The buffer may be modified by the write method.
    Signed-off-by: NDavid Howells <dhowells@redhat.com>
    564def71
proc_net.c 9.2 KB