public inbox for systemtap-cvs@sourceware.org help / color / mirror / Atom feed
From: dsmith@sourceware.org To: systemtap-cvs@sourceware.org Subject: src/runtime/transport ChangeLog control.c proc ... Date: Tue, 14 Aug 2007 15:27:00 -0000 [thread overview] Message-ID: <20070814152758.31530.qmail@sourceware.org> (raw) CVSROOT: /cvs/systemtap Module name: src Changes by: dsmith@sourceware.org 2007-08-14 15:27:58 Modified files: runtime/transport: ChangeLog control.c procfs.c relayfs.c symbols.c transport.c transport.h utt.c Log message: 2007-08-14 David Smith <dsmith@redhat.com> Merge from setuid-branch. Changes also by Martin Hunt <hunt@redhat.com>. * control.c (_stp_ctl_write): Make sure we don't overflow. (_stp_ctl_open_cmd): Do not allow multiple opens of the control file. (_stp_ctl_write_cmd): Once STP_START is received, ignore everything except STP_EXIT. Create another state variable "initialized". Don't respond to STP_SYMBOLS or STP_MODULES unless initialized is 0. Also check that current pid is the same as the pid that did insmod. (_stp_register_ctl_channel): Bug fix - sets owner/group after checking for NULL. * procfs.c (_stp_ctl_write): Make sure we don't overflow. (_stp_ctl_open_cmd): Do not allow multiple opens of the control file. (_stp_ctl_write_cmd): Once STP_START is received, ignore everything except STP_EXIT. Create another state variable "initialized". Don't respond to STP_SYMBOLS or STP_MODULES unless initialized is 0. Also check that current pid is the same as the pid that did insmod. (_stp_register_ctl_channel): Set ownership of cmd file and percpu files for bulkmode. * relayfs.c (utt_trace_setup): Set ownership of percpu files. Improved error handling. (utt_trace_remove): Improved error checking. * utt.c (utt_remove_tree): Improved error checking. (utt_trace_cleanup): Ditto. (utt_create_buf_file_callback): Set file ownership. (utt_create_global_buf_file_callback): Set file ownership. * transport.h: Delcare _stp_uid, _stp_gid, and _stp_init_pid. * transport.c (_stp_transport_init): Set _stp_uid, _stp_gid, and _stp_init_pid. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/transport/ChangeLog.diff?cvsroot=systemtap&r1=1.70&r2=1.71 http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/transport/control.c.diff?cvsroot=systemtap&r1=1.12&r2=1.13 http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/transport/procfs.c.diff?cvsroot=systemtap&r1=1.32&r2=1.33 http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/transport/relayfs.c.diff?cvsroot=systemtap&r1=1.8&r2=1.9 http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/transport/symbols.c.diff?cvsroot=systemtap&r1=1.14&r2=1.15 http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/transport/transport.c.diff?cvsroot=systemtap&r1=1.41&r2=1.42 http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/transport/transport.h.diff?cvsroot=systemtap&r1=1.16&r2=1.17 http://sourceware.org/cgi-bin/cvsweb.cgi/src/runtime/transport/utt.c.diff?cvsroot=systemtap&r1=1.3&r2=1.4
next reply other threads:[~2007-08-14 15:27 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-08-14 15:27 dsmith [this message] -- strict thread matches above, loose matches on Subject: below -- 2008-01-28 19:20 hunt 2007-11-01 19:19 hunt 2007-10-12 19:46 hunt 2007-08-13 15:27 hunt 2007-07-18 19:05 hunt 2007-03-26 16:14 hunt
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20070814152758.31530.qmail@sourceware.org \ --to=dsmith@sourceware.org \ --cc=systemtap-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).