git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: readpassphrase(3) in glibc, and agetpass() (Was: Is getpass(3) really obsolete?)

From
ACAlex Colomar <alx.manpages@gmail.com>
Date
Sep 27, 2022, 19:33 UTC
Message-ID
<242f444d-9846-1a13-d901-9ad503dce605@gmail.com>
In-Reply-To
<c8287618-30c4-f14b-8ad7-898fee99d944@gmail.com>

On 9/27/22 21:19, Alejandro Colomar wrote: ...

Show 6 quoted lines
> 
> The prototypes for the function and the clean-up are:
> 
> ```
> void erase_pass(char *p);
> [[gnu::malloc(erase_pass)]] char *shdw_getpass(const char *prompt);
I edited the function name for the email, and forgot to fix it here :)
s/shdw_/a/
Cheers,
Alex
-- 
<http://www.alejandro-colomar.es/>
Previous: Alejandro ColomarNext: Sam James
Message 17 of 20 in “Re: Is getpass(3) really obsolete?”
  1. Alejandro Colomar (man-pages)Oct 29, 2021
  2. Ævar Arnfjörð BjarmasonOct 29, 2021
  3. Alejandro Colomar (man-pages)Oct 29, 2021
  4. Joseph MyersOct 29, 2021
  5. Alejandro Colomar (man-pages)Oct 30, 2021
  6. Joseph MyersNov 1, 2021
  7. rsbecker@nexbridge.comOct 29, 2021
  8. Eugene SyromyatnikovOct 29, 2021
  9. Theo de RaadtOct 29, 2021
  10. rsbecker@nexbridge.comOct 29, 2021
  11. Theo de RaadtOct 29, 2021
  12. rsbecker@nexbridge.comOct 29, 2021
  13. Alejandro Colomar (man-pages)Oct 29, 2021
  14. rsbecker@nexbridge.comOct 29, 2021
  15. Zack WeinbergOct 29, 2021
  16. readpassphrase(3) in glibc, and agetpass() (Was: Is getpass(3) really obsolete?)Alejandro Colomar, Sep 27, 2022
  17. Alex ColomarSep 27, 2022
  18. Sam JamesSep 27, 2022
  19. getpass.3: SYNOPSIS: Mark getpass() as [[deprecated]]Alejandro Colomar, Oct 29, 2021
  20. Jeff KingOct 29, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.