Skip to content
This repository has been archived by the owner on Mar 19, 2023. It is now read-only.

kauruus/legacy_tiocsti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

NO LONGER NEEDED. THE KERNEL BUG HAS BEEN FIXED.

Enable TIOCSTI through a kernel module.

How to use

clone the repo, build and insmod.

git clone https://github.com/kauruus/legacy_tiocsti.git
cd legacy_tiocsti
make
sudo insmod legacy_tiocsti.ko

to disable TIOCSTI, simply sudo rnmod legacy_tiocsti.

Security concern

CONFIG_LEGACY_TIOCSTI exists for a reason. Enabling TIOCSTI poses a potential **security risk**.

Use this at your own risk.

Why?

I’m a mcfly user, it needs TIOCSTI to work with bash.

For some Linux distributions, TIOCSTI is disabled by default.

And there is a bug that prevents me to re-enable it with sysctl.

So before the patch is merged next kernel release, I use this hack to re-enable it.

About

re-enable TIOCSTI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published