]> git.ipfire.org Git - thirdparty/kmod.git/log
thirdparty/kmod.git
13 years agoFix wrong copyright
Lucas De Marchi [Mon, 28 Nov 2011 18:58:23 +0000 (16:58 -0200)] 
Fix wrong copyright

I'm the author, not the copyright owner.

13 years agoMove down the ifdef for c++
Lucas De Marchi [Mon, 28 Nov 2011 14:03:17 +0000 (12:03 -0200)] 
Move down the ifdef for c++

13 years agoBack to logging without \n
Lucas De Marchi [Fri, 25 Nov 2011 03:28:39 +0000 (01:28 -0200)] 
Back to logging without \n

It possibly breaks when not logging to stderr

13 years agoAdd test-insmod to insert modules
Lucas De Marchi [Fri, 25 Nov 2011 03:25:18 +0000 (01:25 -0200)] 
Add test-insmod to insert modules

Insmod is supported only with file names yet.

13 years agoAdd test-rmmod2
Lucas De Marchi [Fri, 25 Nov 2011 03:24:16 +0000 (01:24 -0200)] 
Add test-rmmod2

Remove module without dealing with the loaded modules first.

13 years agoAdd functions to operate on modules
Lucas De Marchi [Fri, 25 Nov 2011 03:22:56 +0000 (01:22 -0200)] 
Add functions to operate on modules

13 years agoFix check_PROGRAMS in autofoo
Lucas De Marchi [Fri, 25 Nov 2011 03:21:47 +0000 (01:21 -0200)] 
Fix check_PROGRAMS in autofoo

13 years agoWhen logging to stderr, put a \n by default
Lucas De Marchi [Fri, 25 Nov 2011 03:07:04 +0000 (01:07 -0200)] 
When logging to stderr, put a \n by default

13 years agoMake log function uppercase
Lucas De Marchi [Fri, 25 Nov 2011 03:05:30 +0000 (01:05 -0200)] 
Make log function uppercase

The worst case is the err() macro. Usually err is used as a variable,
which clashes with this macro.

13 years agoAdd cscope.out and .swp files to gitignore
Lucas De Marchi [Fri, 25 Nov 2011 01:31:25 +0000 (23:31 -0200)] 
Add cscope.out and .swp files to gitignore

13 years agoAccept dir where we should lookup for modules
Lucas De Marchi [Thu, 24 Nov 2011 18:41:01 +0000 (16:41 -0200)] 
Accept dir where we should lookup for modules

13 years agoFormat enum
Lucas De Marchi [Thu, 24 Nov 2011 17:42:16 +0000 (15:42 -0200)] 
Format enum

13 years agoFormat refcount handling
Lucas De Marchi [Thu, 24 Nov 2011 17:41:48 +0000 (15:41 -0200)] 
Format refcount handling

13 years agoRef and unref ctx when kmod_loaded is created/destroyed
Lucas De Marchi [Fri, 25 Nov 2011 01:06:48 +0000 (23:06 -0200)] 
Ref and unref ctx when kmod_loaded is created/destroyed

13 years agoFix refcount of loaded modules
Lucas De Marchi [Thu, 24 Nov 2011 17:41:15 +0000 (15:41 -0200)] 
Fix refcount of loaded modules

13 years agoDo not configure if NOCONFIGURE is set
Lucas De Marchi [Thu, 24 Nov 2011 15:29:44 +0000 (13:29 -0200)] 
Do not configure if NOCONFIGURE is set

13 years agoAdd more warning flags
Lucas De Marchi [Thu, 24 Nov 2011 15:29:28 +0000 (13:29 -0200)] 
Add more warning flags

13 years agoKeep valgrind happy when mixing sscanf and strtok
Lucas De Marchi [Wed, 23 Nov 2011 19:52:48 +0000 (17:52 -0200)] 
Keep valgrind happy when mixing sscanf and strtok

When mixing sscanf() and strtok() Valgrind complaints like below:

==1641== Conditional jump or move depends on uninitialised value(s)

Use stroull() instead of sscanf().

13 years agoAdd binary to test rmmod feature
Lucas De Marchi [Wed, 23 Nov 2011 19:22:09 +0000 (17:22 -0200)] 
Add binary to test rmmod feature

It doesn't run with `make check' since
o It's dangerous
o It needs to be run as root
o It needs an argument, otherwise it removes the first module
  with use_count==0

13 years agoImplement function to remove module
Lucas De Marchi [Wed, 23 Nov 2011 18:10:58 +0000 (16:10 -0200)] 
Implement function to remove module

13 years agoRename leftover libabc reference
Lucas De Marchi [Wed, 23 Nov 2011 17:24:34 +0000 (15:24 -0200)] 
Rename leftover libabc reference

13 years agoRename libkmod-util.h to macro.h
Lucas De Marchi [Wed, 23 Nov 2011 14:23:46 +0000 (12:23 -0200)] 
Rename libkmod-util.h to macro.h

13 years agoAdd some function attributes and use them
Lucas De Marchi [Wed, 23 Nov 2011 14:21:29 +0000 (12:21 -0200)] 
Add some function attributes and use them

13 years agoConstify API
Lucas De Marchi [Wed, 23 Nov 2011 13:52:30 +0000 (11:52 -0200)] 
Constify API

13 years agoRemove leftover declarations
Lucas De Marchi [Wed, 23 Nov 2011 13:50:27 +0000 (11:50 -0200)] 
Remove leftover declarations

13 years agoAdd libkmod-loaded to handle live modules information
Lucas De Marchi [Tue, 22 Nov 2011 07:42:09 +0000 (05:42 -0200)] 
Add libkmod-loaded to handle live modules information

All the functions needed by a lsmod binary are in place.
test/test-loaded.c implements it with the same output of lsmod.

13 years agoUpdate .gitignore
Lucas De Marchi [Tue, 22 Nov 2011 21:43:21 +0000 (19:43 -0200)] 
Update .gitignore

13 years agoImplement circular double-linked list
Lucas De Marchi [Tue, 22 Nov 2011 07:38:28 +0000 (05:38 -0200)] 
Implement circular double-linked list

13 years agoAdd some good practices to autofoo
Lucas De Marchi [Tue, 22 Nov 2011 19:46:19 +0000 (17:46 -0200)] 
Add some good practices to autofoo

13 years agoPut test back
Lucas De Marchi [Tue, 22 Nov 2011 16:50:50 +0000 (14:50 -0200)] 
Put test back

13 years agoDon't use glob in version script
Lucas De Marchi [Tue, 22 Nov 2011 07:37:21 +0000 (05:37 -0200)] 
Don't use glob in version script

13 years agoFix version to 0:0:0
Lucas De Marchi [Tue, 22 Nov 2011 07:35:43 +0000 (05:35 -0200)] 
Fix version to 0:0:0

Version is only incremented upon release

13 years agoRemove unused functions
Lucas De Marchi [Mon, 21 Nov 2011 17:13:19 +0000 (15:13 -0200)] 
Remove unused functions

13 years agoMake kmod_new return a pointer
Lucas De Marchi [Mon, 21 Nov 2011 17:07:27 +0000 (15:07 -0200)] 
Make kmod_new return a pointer

13 years agoConvert spaces to tabs
Lucas De Marchi [Mon, 21 Nov 2011 16:59:23 +0000 (14:59 -0200)] 
Convert spaces to tabs

13 years agoRename libabc to libkmod
Lucas De Marchi [Mon, 21 Nov 2011 16:35:35 +0000 (14:35 -0200)] 
Rename libabc to libkmod

13 years agoImport skeleton from libabc
Lucas De Marchi [Mon, 21 Nov 2011 14:35:15 +0000 (12:35 -0200)] 
Import skeleton from libabc