Re: [PATCH libgcrypt] Disable CPU speculation-related misfeatures
Guido Trentalancia via Gcrypt-devel <[email protected]> Mon, 23 Jun 2025 13:57:04 +0200
| Newsgroups | gmane.comp.encryption.gpg.libgcrypt.devel |
|---|---|
| Message-ID | <[email protected]> |
It does not change the property of the system, it only changes the properties of the process (or thread). # info prctl | sed -n 4,4p prctl - operations on a process or thread Regards, Guido On Sun, 22/06/2025 at 18.50 +0200, Werner Koch wrote: > On Fri, 13 Jun 2025 23:40, Collin Funk said: > > > I had the same thought when I saw the patch and checked openssl. It > > doesn't do it. Perhaps some others do, but I don't have them cloned > > to > > check. :) > > I also agree. A library should not change properties of the system - > this is the task of the application. A common exception I recall is > to > ignore SIGPIPE because this is actualy a misfeature and libraries > which > spawn other processes should make sure that this is ignored. > > > Salam-Shalom, > > Werner >