]> sourceware.org Git - systemtap.git/commit
PR14650: combine more userspace-deref functions
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 2 Oct 2012 13:53:54 +0000 (09:53 -0400)
committerFrank Ch. Eigler <fche@redhat.com>
Tue, 2 Oct 2012 16:05:32 +0000 (12:05 -0400)
commitb137ba9ad7a3f1c5f45d9813eab63f5cec0c06d6
tree8ad6b0410d3f155b436de878ff6d09246ef52069
parent8120fb841a41595047d3c30c96a16a7e52e2691a
PR14650: combine more userspace-deref functions

* runtime/linux/copy.c: Move out _stp_read_address definition.
  (__stp_strncpy_from_user): Simply accept vicarious protection
  from caller _stp_strncpy_from_user.
  (_stp_copy_from_user): Protect more.
* runtime/stp_string.c (_stp_text_str): Use _stp_read_address
  instead of barenaked __stp_get_user.
* runtime/stp_string.h (__stp_get_user): Simplify; now only for
  use by ...
  (_stp_read_address): Moved here.
runtime/linux/copy.c
runtime/stp_string.c
runtime/stp_string.h
This page took 0.027594 seconds and 5 git commands to generate.