Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
 <MR1P264MB2481E332F0FB7A51B6A7FD7BC06A2@MR1P264MB2481.FRAP264.PROD.OUTLOOK.COM>
Date: Thu, 26 Sep 2024 09:08:59 +0000
From: "Jef STEELANT (EXT)" <jef.steelant_ext@...tathome.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: syslog does not detect a closed file descriptor

The syslog implementation does not detect if the file descriptor of /dev/log is closed, and keeps on logging to an invalid fd.
This happens for instance when using lxc with musl libc ( see issue https://github.com/lxc/lxc/issues/4485). LXC will at a certain point close the fd of /dev/log, in the assumption that a next call to syslog will detect an EBADF when writing data, and that the log will be reopened. glibc does this, but musl does not. It would be better if syslog would either stop logging to the invalid fd, or reopen the log when s send returns EBADF.

Jef
-- This message and any attachments herein are, unless otherwise stated, confidential, intended solely for the addressees and are SoftAtHome's ownership. Any unauthorized use, reproduction or dissemination is prohibited unless formaly agreed beforehand by the sender. If you are not the intended addressee of this message, please immediately delete it and all its attachments from your computer system and notify the sender. SoftAtHome reserves the right to monitor all email communications through its networks. Any views or opinions presented are solely those of its author and do not necessarily represent those of SoftAtHome. The internet cannot guarantee the integrity of this message. SoftAtHome not shall be liable for the message if altered, changed or falsified. While we take all reasonable precautions to ensure that viruses are not transmitted via emails, we recommend that you take your own measures to prevent viruses from entering your computer system. SoftAtHome is a French Soci?t? Anonyme with a Board of Directors, having a capital of 6 450 699 Euros having its registered office located at 9-11 rue du d?barcad?re - 92700 - Colombes - France - Tel + 33 (0)1 57 66 88 88 - Fax + 33 (0)1 57 66 88 89 - RCS Nanterre B 500 440 813 - Intra-Community VAT: FR 04500440813 -- Ce message et toutes les pi?ces jointes qui y sont incluses sont, sauf indication contraire, confidentiels, destin?s uniquement aux destinataires et sont la propri?t? de SoftAtHome. Toute utilisation non autoris?e, reproduction ou diffusion est interdite, sauf accord formel pr?alable de l'exp?diteur. Si vous n'?tes pas le destinataire pr?vu de ce message, veuillez le supprimer imm?diatement ainsi que toutes ses pi?ces jointes de votre syst?me informatique et en informer l'exp?diteur. SoftAtHome se r?serve le droit de surveiller toutes les communications par e-mail via ses r?seaux. Les opinions exprim?es dans ce message sont celles de leur auteur et ne repr?sentent pas n?cessairement celles de SoftAtHome. L'Internet ne permettant pas d'assurer l'int?grit? de ce message, SoftAtHome d?cline toute responsabilit? ? ce titre, dans l'hypoth?se o? il aurait ?t? alt?r?, d?form? ou falsifi?. Par ailleurs et malgr? toutes les pr?cautions prises pour ?viter la pr?sence de virus dans nos envois, nous vous recommandons de prendre, de votre c?t?, les mesures permettant d'assurer la non-introduction de virus dans votre syst?me informatique. SoftAtHome est une Soci?t? Anonyme fran?aise ? Conseil d'Administration ayant un capital de 6 450 699 euros, dont le si?ge social est situ? au 9-11 rue du d?barcad?re - 92700 - Colombes - France - Tel + 33 (0)1 57 66 88 88 - Fax + 33 (0)1 57 66 88 89 RCS Nanterre B 500 440 813 - TVA intracommunautaire : FR 04500440813

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.