Re: REQUESTING FOR A HELP
> Couldn't compute FAST_CWD pointer https://cygwin.com/faq.html#faq.using.fixing-find_fast_cwd-warnings -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
REQUESTING FOR A HELP
Couldn't compute FAST_CWD pointer -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] Updated: Perl distributions
The following Perl distributions have been updated to their latest release version available on CPAN: x86_64 -- perl-Text-CSV_XS-1.51-1 perl-XS-Parse-Keyword-0.38-1 noarch -- perl-Authen-SASL-2.1700-1 perl-Mixin-Linewise-0.111-1 perl-Module-ScanDeps-1.33-1 perl-Mozilla-CA-20230807-1 perl-Pod-Coverage-TrustPod-0.16-1 perl-Pod-Eventual-0.094003-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Updated: Perl distributions
The following Perl distributions have been updated to their latest release version available on CPAN: x86_64 -- perl-Text-CSV_XS-1.51-1 perl-XS-Parse-Keyword-0.38-1 noarch -- perl-Authen-SASL-2.1700-1 perl-Mixin-Linewise-0.111-1 perl-Module-ScanDeps-1.33-1 perl-Mozilla-CA-20230807-1 perl-Pod-Coverage-TrustPod-0.16-1 perl-Pod-Eventual-0.094003-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL.
Re: Compile win64 filesys kernel module only with Cygwin tools?
On 2023-08-09 16:59, Wendy Lin via Cygwin wrote: On Wed, 9 Aug 2023 at 22:04, Hans-Bernhard Bröker via Cygwin wrote: Am 09.08.2023 um 21:17 schrieb Wendy Lin via Cygwin: How can I compile https://github.com/microsoft/Windows-driver-samples/tree/main/filesys/cdfs with Cygwin gcc? You should not be trying to do that. That's deeply system-specific Windows code. It has nothing to with POSIX, Cygwin or anything like that. I really don't care. I really want to RUN AWAY (CRYING!!) from having to depend on Visual Studio 2019 or later. I can't even find C:\WinDDK\ with Visual Studio 2019 anymore, after updating from Windows 8. I'm almost crying about it. Also, we want CI, and that is not going to happen with the Visual Studio Community edition. For that you need a native Windows toolchain, and quite possibly some extra SDK packages from Microsoft to enable building them. MinGW64 (wether stand-alone, or the MSYS(2) hosted one, or the one hosted in Cygwin) might be able to do it. So, MinGW64 would work? Which compiler and linker options do I have to use, which libraries do I link against etc? http://support.fccps.cz/download/adv/frr/win32_ddk_mingw/win32_ddk_mingw.html https://github.com/utoni/mingw-w64-dpp -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] Re-released: {,mingw64-{i686,x86_64}-}binutils-2.41-3
The binutils packages for Cygwin and MingW64 cross-compilation toolchains are re-released to fix a performance regression affecting linking of files with a large number of objects. This re-release uses the official upstream patch for this issue. The performance of objdump has also degraded in some cases, the root cause for this is still under investigation. binutils-2.41-3 mingw64-i686-binutils-2.41-3 mingw64-x86_64-binutils-2.41-3 The GNU Binutils are a collection of binary tools. Most of these programs use BFD, the Binary File Descriptor library, to do low-level manipulation. Many of them also use the opcodes library to assemble and disassemble machine instructions. -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re-released: {,mingw64-{i686,x86_64}-}binutils-2.41-3
The binutils packages for Cygwin and MingW64 cross-compilation toolchains are re-released to fix a performance regression affecting linking of files with a large number of objects. This re-release uses the official upstream patch for this issue. The performance of objdump has also degraded in some cases, the root cause for this is still under investigation. binutils-2.41-3 mingw64-i686-binutils-2.41-3 mingw64-x86_64-binutils-2.41-3 The GNU Binutils are a collection of binary tools. Most of these programs use BFD, the Binary File Descriptor library, to do low-level manipulation. Many of them also use the opcodes library to assemble and disassemble machine instructions. -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL.
[ANNOUNCEMENT] Updated: ca-certificates-2023.2.60_v7.0.306-1
The following packages have been uploaded to the Cygwin distribution: ca-certificates-2023.2.60_v7.0.306-1 ca-certificates-letsencrypt-2023.2.60_v7.0.306-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Updated: ca-certificates-2023.2.60_v7.0.306-1
The following packages have been uploaded to the Cygwin distribution: ca-certificates-2023.2.60_v7.0.306-1 ca-certificates-letsencrypt-2023.2.60_v7.0.306-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL.
[ANNOUNCEMENT] Re-released: {,mingw64-{i686,x86_64}-}binutils-2.41-3
The binutils packages for Cygwin and MingW64 cross-compilation toolchains are re-released to fix a performance regression affecting linking of files with a large number of objects. THis re-release uses the official upstream patch for this issue. The performance of objdump has also degraded in some cases, the root cause for this is still under investigation. binutils-2.41-3 mingw64-i686-binutils-2.41-3 mingw64-x86_64-binutils-2.41-3 The GNU Binutils are a collection of binary tools. Most of these programs use BFD, the Binary File Descriptor library, to do low-level manipulation. Many of them also use the opcodes library to assemble and disassemble machine instructions. -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re-released: {,mingw64-{i686,x86_64}-}binutils-2.41-3
The binutils packages for Cygwin and MingW64 cross-compilation toolchains are re-released to fix a performance regression affecting linking of files with a large number of objects. THis re-release uses the official upstream patch for this issue. The performance of objdump has also degraded in some cases, the root cause for this is still under investigation. binutils-2.41-3 mingw64-i686-binutils-2.41-3 mingw64-x86_64-binutils-2.41-3 The GNU Binutils are a collection of binary tools. Most of these programs use BFD, the Binary File Descriptor library, to do low-level manipulation. Many of them also use the opcodes library to assemble and disassemble machine instructions. -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL.
openssh 9.4p1-1
The following packages have been uploaded to the Cygwin distribution: * openssh-9.4p1-1 OpenSSH is a program for logging into a remote machine and for executing commands on a remote machine. It can replace rlogin and rsh, providing encrypted communication between two machines. OpenSSH 9.4 has just been released. It will be available from the mirrors listed at https://www.openssh.com/ shortly. OpenSSH is a 100% complete SSH protocol 2.0 implementation and includes sftp client and server support. Once again, we would like to thank the OpenSSH community for their continued support of the project, especially those who contributed code or patches, reported bugs, tested snapshots or donated to the project. More information on donations may be found at: https://www.openssh.com/donations.html Changes since OpenSSH 9.3p2 === This release fixes a number of bugs and adds some small features. Potentially incompatible changes * This release removes support for older versions of libcrypto. OpenSSH now requires LibreSSL >= 3.1.0 or OpenSSL >= 1.1.1. Note that these versions are already deprecated by their upstream vendors. * ssh-agent(1): PKCS#11 modules must now be specified by their full paths. Previously dlopen(3) could search for them in system library directories. New features * ssh(1): allow forwarding Unix Domain sockets via ssh -W. * ssh(1): add support for configuration tags to ssh(1). This adds a ssh_config(5) "Tag" directive and corresponding "Match tag" predicate that may be used to select blocks of configuration similar to the pf.conf(5) keywords of the same name. * ssh(1): add a "match localnetwork" predicate. This allows matching on the addresses of available network interfaces and may be used to vary the effective client configuration based on network location. * ssh(1), sshd(8), ssh-keygen(1): infrastructure support for KRL extensions. This defines wire formats for optional KRL extensions and implements parsing of the new submessages. No actual extensions are supported at this point. * sshd(8): AuthorizedPrincipalsCommand and AuthorizedKeysCommand now accept two additional %-expansion sequences: %D which expands to the routing domain of the connected session and %C which expands to the addresses and port numbers for the source and destination of the connection. * ssh-keygen(1): increase the default work factor (rounds) for the bcrypt KDF used to derive symmetric encryption keys for passphrase protected key files by 50%. Bugfixes * ssh-agent(1): improve isolation between loaded PKCS#11 modules by running separate ssh-pkcs11-helpers for each loaded provider. * ssh(1): make -f (fork after authentication) work correctly with multiplexed connections, including ControlPersist. bz3589 bz3589 * ssh(1): make ConnectTimeout apply to multiplexing sockets and not just to network connections. * ssh-agent(1), ssh(1): improve defences against invalid PKCS#11 modules being loaded by checking that the requested module contains the required symbol before loading it. * sshd(8): fix AuthorizedPrincipalsCommand when AuthorizedKeysCommand appears before it in sshd_config. Since OpenSSH 8.7 the AuthorizedPrincipalsCommand directive was incorrectly ignored in this situation. bz3574 * sshd(8), ssh(1), ssh-keygen(1): remove vestigal support for KRL signatures When the KRL format was originally defined, it included support for signing of KRL objects. However, the code to sign KRLs and verify KRL signatues was never completed in OpenSSH. This release removes the partially-implemented code to verify KRLs. All OpenSSH tools now ignore KRL_SECTION_SIGNATURE sections in KRL files. * All: fix a number of memory leaks and unreachable/harmless integer overflows. * ssh-agent(1), ssh(1): don't truncate strings logged from PKCS#11 modules; GHPR406 * sshd(8), ssh(1): better validate CASignatureAlgorithms in ssh_config and sshd_config. Previously this directive would accept certificate algorithm names, but these were unusable in practice as OpenSSH does not support CA chains. bz3577 * ssh(1): make `ssh -Q CASignatureAlgorithms` only list signature algorithms that are valid for CA signing. Previous behaviour was to list all signing algorithms, including certificate algorithms. * ssh-keyscan(1): gracefully handle systems where rlimits or the maximum number of open files is larger than INT_MAX; bz3581 * ssh-keygen(1): fix "no comment" not showing on when running `ssh-keygen -l` on multiple keys where one has a comment and other following keys do not. bz3580 * scp(1), sftp(1): adjust ftruncate() logic to handle servers that reorder requests. Previously, if the server reordered requests then
[ANNOUNCEMENT] openssh 9.4p1-1
The following packages have been uploaded to the Cygwin distribution: * openssh-9.4p1-1 OpenSSH is a program for logging into a remote machine and for executing commands on a remote machine. It can replace rlogin and rsh, providing encrypted communication between two machines. OpenSSH 9.4 has just been released. It will be available from the mirrors listed at https://www.openssh.com/ shortly. OpenSSH is a 100% complete SSH protocol 2.0 implementation and includes sftp client and server support. Once again, we would like to thank the OpenSSH community for their continued support of the project, especially those who contributed code or patches, reported bugs, tested snapshots or donated to the project. More information on donations may be found at: https://www.openssh.com/donations.html Changes since OpenSSH 9.3p2 === This release fixes a number of bugs and adds some small features. Potentially incompatible changes * This release removes support for older versions of libcrypto. OpenSSH now requires LibreSSL >= 3.1.0 or OpenSSL >= 1.1.1. Note that these versions are already deprecated by their upstream vendors. * ssh-agent(1): PKCS#11 modules must now be specified by their full paths. Previously dlopen(3) could search for them in system library directories. New features * ssh(1): allow forwarding Unix Domain sockets via ssh -W. * ssh(1): add support for configuration tags to ssh(1). This adds a ssh_config(5) "Tag" directive and corresponding "Match tag" predicate that may be used to select blocks of configuration similar to the pf.conf(5) keywords of the same name. * ssh(1): add a "match localnetwork" predicate. This allows matching on the addresses of available network interfaces and may be used to vary the effective client configuration based on network location. * ssh(1), sshd(8), ssh-keygen(1): infrastructure support for KRL extensions. This defines wire formats for optional KRL extensions and implements parsing of the new submessages. No actual extensions are supported at this point. * sshd(8): AuthorizedPrincipalsCommand and AuthorizedKeysCommand now accept two additional %-expansion sequences: %D which expands to the routing domain of the connected session and %C which expands to the addresses and port numbers for the source and destination of the connection. * ssh-keygen(1): increase the default work factor (rounds) for the bcrypt KDF used to derive symmetric encryption keys for passphrase protected key files by 50%. Bugfixes * ssh-agent(1): improve isolation between loaded PKCS#11 modules by running separate ssh-pkcs11-helpers for each loaded provider. * ssh(1): make -f (fork after authentication) work correctly with multiplexed connections, including ControlPersist. bz3589 bz3589 * ssh(1): make ConnectTimeout apply to multiplexing sockets and not just to network connections. * ssh-agent(1), ssh(1): improve defences against invalid PKCS#11 modules being loaded by checking that the requested module contains the required symbol before loading it. * sshd(8): fix AuthorizedPrincipalsCommand when AuthorizedKeysCommand appears before it in sshd_config. Since OpenSSH 8.7 the AuthorizedPrincipalsCommand directive was incorrectly ignored in this situation. bz3574 * sshd(8), ssh(1), ssh-keygen(1): remove vestigal support for KRL signatures When the KRL format was originally defined, it included support for signing of KRL objects. However, the code to sign KRLs and verify KRL signatues was never completed in OpenSSH. This release removes the partially-implemented code to verify KRLs. All OpenSSH tools now ignore KRL_SECTION_SIGNATURE sections in KRL files. * All: fix a number of memory leaks and unreachable/harmless integer overflows. * ssh-agent(1), ssh(1): don't truncate strings logged from PKCS#11 modules; GHPR406 * sshd(8), ssh(1): better validate CASignatureAlgorithms in ssh_config and sshd_config. Previously this directive would accept certificate algorithm names, but these were unusable in practice as OpenSSH does not support CA chains. bz3577 * ssh(1): make `ssh -Q CASignatureAlgorithms` only list signature algorithms that are valid for CA signing. Previous behaviour was to list all signing algorithms, including certificate algorithms. * ssh-keyscan(1): gracefully handle systems where rlimits or the maximum number of open files is larger than INT_MAX; bz3581 * ssh-keygen(1): fix "no comment" not showing on when running `ssh-keygen -l` on multiple keys where one has a comment and other following keys do not. bz3580 * scp(1), sftp(1): adjust ftruncate() logic to handle servers that reorder requests. Previously, if the server reordered requests then
Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory
On Wed, Aug 9, 2023 at 11:56 AM Corinna Vinschen wrote: > > On Aug 9 11:12, Martin Wege via Cygwin wrote: > > On Wed, Aug 9, 2023 at 10:01 AM Corinna Vinschen > > wrote: > > > > > > On Aug 8 21:38, Martin Wege via Cygwin wrote: > > > > On Tue, Aug 8, 2023 at 10:20 AM Corinna Vinschen > > > > wrote: > > > > > > > > > > On Aug 7 23:14, Martin Wege via Cygwin wrote: > > > > > > Secondly, how are fifos, other device nodes and mknod implemented? > > > > > > You > > > > > > encode them as softlinks on ntfs? > > > > > > > > > > Not only on NTFS. FIFOs on the disk are always created as symlinks > > > > > with a special target string, recognized by Cygwin. No differece on > > > > > NFS. Microsoft NFSv3 has no way to specify creating a "real" FIFO > > > > > on the remote filesystem. It wouldn't make sense anyway, because > > > > > there's no way to share the FIFO across systems. > > > > > > > > So no Windows ioctl to do a mknod? > > > > > > Windows does not have provisions to store FIFOs on disk. The closest > > > you get in Windows are Windows named pipes, and those are stored > > > non-permanently in a special, temporary filesystem inside the native NT > > > namespace. Try this in Cygwin: > > > > > > $ cd /proc/sys/Device/NamedPipe/<-- trailing slash! > > > $ ls -l > > > > > > FIFOs in the normal Windows filesystem are a Cygwin fake. > > > > Maybe make pipes in Cygwin symlinks to /proc/sys/Device/NamedPipe/? > > Why? Windows Named Pipes don't act like UNIX FIFOs. OK, dumb-user-question: Where is the difference? > > > > > What does a Linux/FreeBSD FIFO file look like, if you export that > > > > filesystem via NFSv3, and mount it via the native Windows NFSv3 > > > > driver, and do a ls -l in Cygwin? > > > > > > It looks like a FIFO because MSFT NFSv3 exports the stat(2) info > > > verbatim: > > > > > > linux$ mkfifo blubb > > > > > > cygwin$ ls -l blubb > > > prw-r--r-- 1 corinna vinschen 0 Aug 8 10:22 blubb > > > > Will cygwin treat this as a FIFO? > > No. Cygwin FIFOs != Unix FIFOs. > > > Can cygwin set the 'p' flag via a magic ioctl? > > No. I don't understand your insistence to use FIFOs on NFS. There is > no value in that, because you can't share them between systems anyway. > > https://www.unix.com/unix-for-advanced-and-expert-users/10861-fifo-over-nfs.html > https://stackoverflow.com/questions/1038788/cant-write-to-fifo-file-mouted-via-nfs I'm aware of that. But think about clusters of machines, or similar setups where many machines from different architectures share one NFS filesystem, and cooperatively work on that. So for example a master machine sets up everything for the build client machines, including generating FIFOs, which shall be used locally on the client. But then... oopsie, client cannot use the FIFO prepared by the cluster master, because it doesn't create the FIFO mknod nodes the same way as other platforms. Most of the concerns are about portability. Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Compile win64 filesys kernel module only with Cygwin tools?
On Wed, Aug 9, 2023 at 10:04 PM Hans-Bernhard Bröker via Cygwin wrote: > > Am 09.08.2023 um 21:17 schrieb Wendy Lin via Cygwin: > > How can I compile > > https://github.com/microsoft/Windows-driver-samples/tree/main/filesys/cdfs > > with Cygwin gcc? > > You should not be trying to do that. > > That's deeply system-specific Windows code. It has nothing to with > POSIX, Cygwin or anything like that. > > For that you need a native Windows toolchain, and quite possibly some > extra SDK packages from Microsoft to enable building them. MinGW64 > (wether stand-alone, or the MSYS(2) hosted one, or the one hosted in > Cygwin) might be able to do it. I'd be very interested in this idea to (build *.sys kernel module with minGW64). Has anyone ever tried to do that? Just from Googling PDB (Windows Debug File Format) files will be absent, but that is all, right? Thanks, Martin -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple