Index | Thread | Search

From:
"Theo de Raadt" <deraadt@openbsd.org>
Subject:
Re: Missing errno # 71 in man errno
To:
"Todd C. Miller" <millert@openbsd.org>
Cc:
Ingo Schwarze <schwarze@usta.de>, Angelo Rossi <angelo.rossi.homelab@gmail.com>, tech@openbsd.org, jsg@openbsd.org
Date:
Tue, 15 Jul 2025 13:49:02 -0600

Download raw body.

Thread
  • Jonathan Gray:

    Missing errno # 71 in man errno

  • Todd C. Miller <millert@openbsd.org> wrote:
    
    > On Tue, 15 Jul 2025 12:45:25 -0600, "Theo de Raadt" wrote:
    > 
    > > I suspect what's going on here is the driver wants to provide a unique
    > > error number for a failure condition which will print a different
    > > (obscure, but different) error message to a user or an unknown test
    > > program.  So they chose EREMOTE, rather than ENOMEDIUM or EBADRPC or
    > > 37373.
    > 
    > Yes, that seems likely.  The Intel drm code appears to take a lot
    > of liberties with errno values.  For example, it uses ESTALE for
    > some things.  Who knows whether those values ever reach the user.
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
    Right.
    
    
  • Jonathan Gray:

    Missing errno # 71 in man errno