[haiku-bugs] Re: [Haiku] #18062: Implement crypt_r in libroot

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 15 Feb 2023 20:55:48 -0000

#18062: Implement crypt_r in libroot
--------------------------+-------------------------
  Reporter:  davidkaroly  |      Owner:  nobody
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  Unscheduled
 Component:  - General    |    Version:  R1/beta3
Resolution:               |   Keywords:
Blocked By:               |   Blocking:
  Platform:  All          |
--------------------------+-------------------------
Comment (by davidkaroly):

 most of it has been merged:

 - hrev56758 - libroot: introduce crypt_r
 - hrev56766 - libroot/crypt: replace crypt_des implementation with musl's
 - hrev56771 - libroot/crypt: remove selectsmix

 with these in place, crypt_r now seems threadsafe enough.

 I have a small test program that invokes crypt_r on multiple threads,
 recently it hasn't found any issues. I'll try to integrate it into the
 unit tests located in haiku repo src/tests/ folder.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/18062#comment:7>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: