the 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
the 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 simone.we
al, 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/
is 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/
he 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 "unsubscribe linux-kern
-process, you're even safe if your screensaver crashes.
Yes but this would lock the whole machine. Our plan is to make it posible
to lock a specific set of VTs - owned by the user who wants to lock.
e.g if user A locked all his VTs user B would still be able to switch to
his VTs.
Thanks
Simone
wonder why it's supposed to be the
better way?
Thanks
David
Hello,
Our approch would 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
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 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
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. 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 simone.we...@fau.de
Signed-off-by: Helene Gsaenger
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
dpacompat.h and digi.h partly define the same macros, so it is necessary to
change them both.
Signed-off-by: Simone Weiss simone.we...@fau.de
Signed-off-by: Helene Gsaenger helene.gsaen...@studium.fau.de
---
drivers/staging/dgnc/digi.h | 58
drivers
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/dgnc
I've redone the previous patch as I have also forgotten a macro.
Signed-off-by: Simone Weiss simone.we...@fau.de
Signed-off-by: Helene Gsaenger helene.gsaen...@studium.fau.de
---
drivers/staging/dgnc/digi.h | 60 ++---
1 file changed, 30 insertions(+), 30
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: Simone
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: Simone
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 simone.we...@fau.de
Signed-off-by: Helene Gsaenger helene.gsaen
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
Signed-off-by: Simone Weiss simone.we...@fau.de
Signed-off-by: Helene Gsaenger helene.gsaen...@studium.fau.de
---
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
Signed-off-by: Simone Weiss simone.we...@fau.de
Signed-off-by: Helene Gsaenger helene.gsaen...@studium.fau.de
---
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
Signed-off-by: Simone Weiss simone.we...@fau.de
Signed-off-by: Helene Gsaenger helene.gsaen...@studium.fau.de
---
drivers/staging/dgnc/dgnc_driver.h | 71 +++---
1 file changed, 44 insertions(+), 27 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_driver.h
b
Signed-off-by: Simone Weiss simone.we...@fau.de
Signed-off-by: Helene Gsaenger helene.gsaen...@studium.fau.de
---
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
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 simone.we...@fau.de
Signed-off-by: Helene Gsaenger helene.gsaen...@studium.fau.de
---
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
Signed-off-by: Simone Weiss simone.we...@fau.de
Signed-off-by: Helene Gsaenger helene.gsaen...@studium.fau.de
---
drivers/staging/dgnc/dgnc_neo.c | 214
1 file changed, 149 insertions(+), 65 deletions(-)
diff --git a/drivers/staging/dgnc/dgnc_neo.c b
32 matches
Mail list logo