Transcript
Page 1: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

20 years of CONFIG_VT

David Herrmann<[email protected]>

Page 2: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

According to slashdot:

My linux-kernel VTs...

Page 3: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

...can magically recover a system without a rootfs!

Page 4: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

…provide a shell in the kernel!

Page 5: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

...drive serial consoles!

Page 6: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

...have a clean code-base!

Page 7: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

...haven't had any bugs in the last century!

Page 8: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management
Page 9: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

linux-0.01

“Hopefully this will be a rather complete vt102 implementation”

(drivers/tty/vt/vt.c)

Page 10: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

Unix Session-Management

setsid() / setpgid()

“I haven't get the stomach for it. I also don't fully understand sessions/pgrp etc. Let somebody who does explain it.”

Page 11: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

linux-0.11

console beeping

Page 12: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

linux-0.12

VTs!

Page 13: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

linux-0.96a

X11 support:– KDSETMODE

– KDSKBMODE

Page 14: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

linux-0.99.1

VT_SETMODE

(and advanced beeping)

Page 15: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

linux-1.3.38

TGA-console

Page 16: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

linux-1.3.94

fbdev support

Page 17: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

linux-2.1.67

● fbcon● txtcon● vgacon● fonts

Page 18: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

kmscon

Page 19: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

systemd-logind

Page 20: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

open(“/dev/<sth>”, …)

logind.TakeDevice(“/dev/<sth>”)

Page 21: 20 years of CONFIG VT - X.OrgLinux Session-Management This image describes the interaction between the different user-space and kernel-space subsystems related to session-management

Top Related