Applied, thanks!

Zhaoming Luo, le sam. 08 févr. 2025 18:32:20 +0800, a ecrit:
> The term_getctty() should accept pty_class
> 
> See
> https://mail.gnu.org/archive/html/bug-hurd/2025-02/msg00061.html
> 
> * term/users.c: The term_getctty() accepts pty_class
> ---
>  term/users.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/term/users.c b/term/users.c
> index 3f449c71..bb5a9e09 100644
> --- a/term/users.c
> +++ b/term/users.c
> @@ -358,7 +358,7 @@ S_term_getctty (struct trivfs_protid *cred,
>  
>    if (!cred
>        || cred->pi.bucket != term_bucket
> -      || cred->pi.class != tty_class)
> +      || (cred->pi.class != tty_class && cred->pi.class != pty_class))
>      return EOPNOTSUPP;
>  
>    pthread_mutex_lock (&global_lock);
> -- 
> 2.47.2

Reply via email to