[PATCH 18/18] i386/i386at/lpr.c: fix initalization from incompatible pointer type

2013-12-06 Thread Marin Ramesa
* i386/i386at/lpr.c (lprprobe): Modify argument types. * i386/i386at/lpr.h (lprprobe): Likewise. --- i386/i386at/lpr.c | 4 ++-- i386/i386at/lpr.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/i386/i386at/lpr.c b/i386/i386at/lpr.c index 8e065c2..f2fd23e 100644 --- a/i386/

[PATCH 17/18] i386/i386at/kd_event.c: fix difference in signedness

2013-12-06 Thread Marin Ramesa
* i386/i386at/kd_event.c (X_kdb_enter_init, X_kdb_exit_init): Modify argument type. memcpy() has a pointer to void as a second argument so it's all the same. * i386/i386at/kd_event.h (X_kdb_enter_init, X_kdb_exit_init): Modify argument type. --- i386/i386at/kd_event.c | 4 ++-- i386/i386at/kd_e

[PATCH 10/18] kern/startup.c: use boolean values

2013-12-06 Thread Marin Ramesa
* kern/startup.c (reboot_on_panic): Use boolean values. --- kern/startup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kern/startup.c b/kern/startup.c index be83f6b..78c210d 100644 --- a/kern/startup.c +++ b/kern/startup.c @@ -68,7 +68,7 @@ #endif /* MACH_KDB */ #i

[PATCH 11/18] kern/exception.c: move struct definition to a header file

2013-12-06 Thread Marin Ramesa
* kern/exception.c (mach_exception): Move struct definition to kern/exception.h. --- kern/exception.c | 14 -- kern/exception.h | 14 ++ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/kern/exception.c b/kern/exception.c index 0232773..ac7ead2 100644 --- a

[PATCH 09/18] kern/bootstrap.c: move struct definition to a header file

2013-12-06 Thread Marin Ramesa
* kern/bootstrap.c: Include kern/bootstrap.h. (user_bootstrap_info): Move struct definition to kern/bootstrap.h. --- kern/bootstrap.c | 10 +- kern/bootstrap.h | 8 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/kern/bootstrap.c b/kern/bootstrap.c index 41b02fe..

[PATCH 15/18] i386/i386at/com.c: fix initialization from incompatible pointer type

2013-12-06 Thread Marin Ramesa
* i386/i386at/com.c (comprobe): Modify argument types. (comprobe): Cast from (struct bus_ctrl *) to (struct bus_device *). comprobe_general() uses only a small subset of members, so it's all the same which struct it is. * i386/i386at/com.h (comprobe): Modify argument types. --- i386/i386at/com.c

[PATCH 16/18] i386/i386at/com.c: fix assignment from incompatible pointer type

2013-12-06 Thread Marin Ramesa
* device/tty.h (tty): Modify so that correct argument list and return type is listed. --- device/tty.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device/tty.h b/device/tty.h index dcc7711..a4300f7 100644 --- a/device/tty.h +++ b/device/tty.h @@ -72,8 +72,8 @@ struct

[PATCH 08/18] kern/boot_script.c: move struct definitions to a header file

2013-12-06 Thread Marin Ramesa
* kern/boot_script.c (sym, arg): Move struct definitions to kern/boot_script.h. --- kern/boot_script.c | 41 - kern/boot_script.h | 39 +++ 2 files changed, 39 insertions(+), 41 deletions(-) diff --git a/kern/boot_script

[PATCH 14/18] Fix initialization from incompatible pointer type

2013-12-06 Thread Marin Ramesa
Fix initialization from incompatible pointer type in the initialization of the field dev_name_list in i386/i386at/conf.c. This patch has one questionable addition, that is the cast from io_req_t to a pointer to uio struct in the function kdread(). * device/conf.h: Include sys/types.h. Include mac

[PATCH 13/18] kern/machine.c: fix implicit declaration of function

2013-12-06 Thread Marin Ramesa
This include fixes the implicit declaration of function. But I don't know if it is correct to include here stuff from i386at. * kern/machine.c: Include i386at/model_dep.h. --- kern/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kern/machine.c b/kern/machine.c index

[PATCH 12/18] kern/debug.c: fix implicit declaration of function

2013-12-06 Thread Marin Ramesa
This include fixes the implicit declaration of function. But I don't know if it is correct to include here stuff from i386at. * kern/debug.c: Include i386at/model_dep.h. --- kern/debug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kern/debug.c b/kern/debug.c index e9427a3..6e15e08 1006

[PATCH 07/18] vm/vm_map.c: use boolean instead of an int

2013-12-06 Thread Marin Ramesa
* vm/vm_map.c (vm_map_pmap_enter_print, vm_map_pmap_enter_enable): Use boolean instead of an int. --- vm/vm_map.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/vm_map.c b/vm/vm_map.c index 914741e..55ceb75 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -671,8 +671,8 @

[PATCH 02/18] i386/i386at/lpr.c: fix argument list

2013-12-06 Thread Marin Ramesa
* i386/i386at/lpr.c (lprprobe): Fix argument list. --- i386/i386at/lpr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/i386/i386at/lpr.c b/i386/i386at/lpr.c index 4431c37..3942335 100644 --- a/i386/i386at/lpr.c +++ b/i386/i386at/lpr.c @@ -63,6 +63,7 @@ int lpr_alive[NLPR]; int lprprobe(

[PATCH 01/18] ddb/db_output.c: remove forward declaration

2013-12-06 Thread Marin Ramesa
* ddb/db_input.h (db_check_interrupt): Add prototype. * ddb/db_output.c: Include ddb/db_input.h. (db_check_interrupt): Remove forward declaration. --- ddb/db_input.h | 2 ++ ddb/db_output.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ddb/db_input.h b/ddb/db_input.h in

[PATCH 05/18] vm/vm_pageout.c: remove forward declarations

2013-12-06 Thread Marin Ramesa
* vm/vm_pageout.c (vm_pageout_continue, vm_pageout_scan_continue): Remove forward declarations. * vm/vm_pageout.h (vm_pageout_continue, vm_pageout_scan_continue): Add prototypes. --- vm/vm_pageout.c | 3 --- vm/vm_pageout.h | 4 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH 03/18] i386/i386at/model_dep.c: fix argument list

2013-12-06 Thread Marin Ramesa
* i386/i386at/model_dep.c (timemmap): Fix argument list. --- i386/i386at/model_dep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/i386/i386at/model_dep.c b/i386/i386at/model_dep.c index f0d49f4..1f1785e 100644 --- a/i386/i386at/model_dep.c +++ b/i386/i386at/model_dep.c @@ -616,6 +616,8 @

[PATCH 04/18] i386/i386at/pic_isa.c: remove forward declaration

2013-12-06 Thread Marin Ramesa
* i386/Makefrag.am: Include i386/i386/hardclock.h. * i386/i386/hardclock.h: New file. Add copyright. [_I386_HARDCLOCK_H_]: Add ifndef. (hardclock): Add prototype. * i386/i386at/pic_isa.c (hardclock): Remove forward declaration. Include i386/hardclock.h. --- i386/Makefrag.am | 1 + i386/i38

[PATCH 06/18] vm/vm_object.c: remove unused variable

2013-12-06 Thread Marin Ramesa
* vm/vm_object.c (vm_object_terminate_remove_all): Remove unused variable. --- vm/vm_object.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/vm/vm_object.c b/vm/vm_object.c index e1264f1..582487e 100644 --- a/vm/vm_object.c +++ b/vm/vm_object.c @@ -522,8 +522,6 @@ void vm_object_deallocate(

Re: RFC: [PATCH] SCM_CREDS support

2013-12-06 Thread Svante Signell
On Fri, 2013-12-06 at 00:18 +0100, Svante Signell wrote: > On Thu, 2013-10-24 at 18:24 +0200, Svante Signell wrote: > > On Thu, 2013-10-24 at 18:15 +0200, Samuel Thibault wrote: ... > With these patches gamin and glib2.0 work ... > dbus-daemon works, but some of the tests does not, since > sendmsg(