Patchwork [v2] shadow-securetty: allow root logins on usb serial gadget device

login
register
mail settings
Submitter Steve Sakoman
Date Feb. 1, 2012, 5:24 p.m.
Message ID <1328117088-4547-1-git-send-email-steve@sakoman.com>
Download mbox | patch
Permalink /patch/20503/
State Accepted
Commit 6ba9dc6460eb615e002e90ead0f4d5bc31856f22
Headers show

Comments

Steve Sakoman - Feb. 1, 2012, 5:24 p.m.
Existing tty list does not include ttyGS0, add it

Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
Changes in this version:
 - set PR to r1
 
 meta/recipes-extended/shadow/files/securetty       |    3 +++
 .../shadow/shadow-securetty_4.1.4.3.bb             |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)
Richard Purdie - Feb. 3, 2012, 5:22 p.m.
On Wed, 2012-02-01 at 09:24 -0800, Steve Sakoman wrote:
> Existing tty list does not include ttyGS0, add it
> 
> Signed-off-by: Steve Sakoman <steve@sakoman.com>
> ---
> Changes in this version:
>  - set PR to r1
>  
>  meta/recipes-extended/shadow/files/securetty       |    3 +++
>  .../shadow/shadow-securetty_4.1.4.3.bb             |    2 ++
>  2 files changed, 5 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-extended/shadow/files/securetty b/meta/recipes-extended/shadow/files/securetty
index 28fa0af..a06dc44 100644
--- a/meta/recipes-extended/shadow/files/securetty
+++ b/meta/recipes-extended/shadow/files/securetty
@@ -25,6 +25,9 @@  ttyUSB0
 ttyUSB1
 ttyUSB2
 
+# USB serial gadget
+ttyGS0
+
 # PowerMac
 ttyPZ0
 ttyPZ1
diff --git a/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb b/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb
index e391d24..c7a206e 100644
--- a/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb
+++ b/meta/recipes-extended/shadow/shadow-securetty_4.1.4.3.bb
@@ -6,6 +6,8 @@  LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 
 INHIBIT_DEFAULT_DEPS = "1"
 
+PR = "r1"
+
 SRC_URI = "file://securetty"
 
 # Since we deduce our arch from ${SERIAL_CONSOLE}