owner of a sppecified VT to set the lock flag.
VT_UNLOCK: allows caller with root permissions to reset the lock flag
VT_ISLOCKED: returns the value of the lock flag
If anyone tries to switch to a locked VT he gets redirected to VT 12
in complete_change_console.
Signed-off-by: Simone Weiss
Signed
ould be more universal, it wouldn't only work when wayland is
used, but as well on servers and systems that are not going to use
wayland.
And wayland doesn't seem to be ready soon.
Regards
Simone Weiss
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
witch to
his VTs.
Thanks
Simone Weiss
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
n the kernel, the above describes only
the interaction with a userspace programm.
For the kernel it would only mean that if a vt is locked
it wouldn't allow to switch to this vt and instead switch to VT12.
Regards,
Simone Weiss
--
To unsubscribe from this list: send the line "un
dpacompat.h and digi.h partly define the same macros, so it is necessary to
change them both. I also removed some defines as they were unnecessary,
because they were already defined, or because they were never used.
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers
dpacompat.h and digi.h partly define the same macros, so it is necessary to
change them both.
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers/staging/dgnc/digi.h | 58
drivers/staging/dgnc/dpacompat.h | 12 -
2 files
I've redone the previous patch as I have also forgotten a macro.
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers/staging/dgnc/digi.h | 60 ++---
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/drivers/staging
The patch previous in this thread (dgnc/dpacompat.h) defines partly the same
macros as dgnc/digi.h and so it is neccessary tochange the macros in this file
as well, so no macros get redefined
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers/staging/dgnc/digi.h | 52
I originally wanted to replace both of the printk cals in this file with
dev_err().
But in the function dgnc_create_driver_sysfiles only the struct pci_driver was
given,
sadly I coudn't figure out a way to get a struct device when only a struct
pci_driver is given.
Signed-off-by: S
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers/staging/dgnc/dgnc_neo.c | 214
1 file changed, 149 insertions(+), 65 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_neo.c b/drivers/staging/dgnc/dgnc_neo.c
index c9a8a98
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers/staging/dgnc/dgnc_sysfs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_sysfs.c
b/drivers/staging/dgnc/dgnc_sysfs.c
index 2fd34ca..0fa2388 100644
--- a/drivers/staging
We fixed some coding style issues in staging/dgnc.
Mostly it fixes lines over 80 characters (dgnc_neo.c, dgnc_cls.h,
dgnc_compact.h,
dgnc_driver.h)
In dgnc_sysfs.c we replaced printk by pr_err.
In dpacompat.h we also set complex macros into enclosed parantheses
Signed-off-by: Simone Weiss
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers/staging/dgnc/dpacompat.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/dgnc/dpacompat.h b/drivers/staging/dgnc/dpacompat.h
index b2d2dc0..feb4f60 100644
--- a/drivers/staging/dgnc
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers/staging/dgnc/dgnc_driver.h | 71 +++---
1 file changed, 44 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.h
b/drivers/staging/dgnc/dgnc_driver.h
index a8157eb
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers/staging/dgnc/dgnc_cls.h | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_cls.h b/drivers/staging/dgnc/dgnc_cls.h
index 465d79a..d1543c1 100644
--- a/drivers/staging
Signed-off-by: Simone Weiss
Signed-off-by: Helene Gsaenger
---
drivers/staging/dgnc/dpacompat.h | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/dgnc/dpacompat.h b/drivers/staging/dgnc/dpacompat.h
index feb4f60..8049e9d 100644
--- a/drivers
16 matches
Mail list logo