History log of /external/ltp/testcases/kernel/connectors/pec/pec_listener.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
354ebb48db8e66a853a58379a4808d5dcd1ceac3 07-Dec-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> cleanup code indent

Cleanup the code indent using:

find . -name *.c -exec Lindent {} \;

It's really a big change, but can fix almost all of
the indent problem in C code, although we can't
ensure all of the changes are right, but the error
changes are really few.

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 19-Oct-2012 Wanlong Gao <gaowanlong@cn.fujitsu.com> Update FSF address

find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;
find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \;

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
ec6edca7aa42b6affd989ef91b5897f96795e40f 18-Oct-2012 Chris Dearman <chris@mips.com> Add missing newline at end of file

This is a scripted change done using the following command:

find . -type d -name .git -prune -o \
-type f \! -name \*\~ \! -name .\#\* \
\! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \
xargs -0 sed -i -e '$a\'

Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
1e6f5a673655551de5734ff31ef48cd63b604e6d 19-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Resolving all compile errors via a script

This may leave dupe calls to tst_exit in main, but those are easier
to deal (and much less) than no-compile scenarios.

As a side-effect, fix all trailing whitespace issues.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
2b71b8c923e65e4f54e5c69f287fa9d1f78fc9eb 19-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Fix compile.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
2c28215423293e443469a07ae7011135d058b671 16-Dec-2010 Garrett Cooper <yanegomi@gmail.com> Style and conformance changes.

1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
ef77253961f909f87e82e6d2b620e87af33e9665 09-Oct-2009 yaberauneya <yaberauneya> 1. Please see README.mk-devel for a full description of the changes
from a Make perspective.
2. Several files were changed to accomodate correct installation
practices, most notably ones in testcases/network/{ipv6,tcp_cmds},
testcases/kernel/sched/hyperthreading/ht_enabled/..., and some items
in tools/..., and also to avoid collisions as far as installed
testcases (scripts, compiled C apps) were concerned.
3. Several apps weren't autoconf safe and some autoconf tests and
conditional statements have been placed in sourcecode and in Makefiles
to either a) prevent the tests from being built / installed or b) turn
the tests into dummy apps which print out TCONF messages due to
lack-of-build support.

Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
4f0b50d933426fe9a165288f6b26afc71acbefb3 23-Oct-2008 subrata_modak <subrata_modak> Subrata <subrata@linux.vnet.ibm.com> wrote: I found some compilation errors for the connectors at today´s CVS snapshot on the following machine. Can you please look into this: 1) uname -a, Linux 2.6.27-autokern1 #1 SMP Mon Oct 20 00:45:37 PDT 2008 i686 GNU/Linux.
How about: check if NETLINK_CONNECTOR is defined (in netlink.h). If not, we can't include connector.h, so we break the test. If yes, we check if CN_IDX_PROC is defined. Subrata, can you try the following patch? Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>.
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
368dee1b57f0118a78a68d216f11db2c09fb63db 20-Oct-2008 subrata_modak <subrata_modak> fix __builtin___memset_chk overflow warning for kernel/connectors/pec/pec_listener.c. with GCC 4.3 and with LTP CVS snapshot from today i got following warning when using the GCC Object Checking Builtins: Signed-off-by: Daniel Gollub <dgollub@suse.de>.
It's not a correct fix, the patch initializes the message header only. Below is a correct one: Allocate a buffer large enough to hold NLMSG_SPACE(MAX_MSG_SIZE). Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>.
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
939b23a918642e1791398eaa0bc331887d5ca8cf 26-Jun-2008 subrata_modak <subrata_modak> Here it is. Based on my last patch.
- building failure on 2.6.16 should be fixed
- fix "make install" if kernel version < 2.6.15
- abort tests if kernel version < 2.6.15
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>.
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c
49dcfa092e98f208a0ce32586b7b2654aaea5077 26-Jun-2008 subrata_modak <subrata_modak> Addition of Initial set of Process Event Connectors by Li Zefan. Process event connector is a netlink connector that reports process events to userspace, and currently we have 5 kinds of process events, i.e. fork, exit, exec, uid, gid. There are total 5 test cases to test its functionality. But the test is not run by default, because I don't find a way to decide whether the underlying kernel supports this feather or not. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>.
/external/ltp/testcases/kernel/connectors/pec/pec_listener.c