[PATCH openEuler-22.03-LTS-SP1 1/2] tty: add the option to have a tty reject a new ldisc