Re: [PATCH 5/6] Cygwin: Fix warnings about narrowing conversions of socket ioctls

2024-08-11 Thread Brian Inglis
On 2024-08-11 12:31, Brian Inglis wrote: On 2024-08-07 08:06, Corinna Vinschen wrote: On Aug  6 19:58, Jon Turney wrote: On 05/08/2024 11:22, Corinna Vinschen wrote: On Aug  4 22:48, Jon Turney wrote: Fix gcc 12 warnings about narrowing conversions of socket ioctl constants when used as case

Re: [PATCH 5/6] Cygwin: Fix warnings about narrowing conversions of socket ioctls

2024-08-11 Thread Brian Inglis
__MISC_VISIBLE char * itoa (int, char *, int); char * utoa (unsigned, char *, int); # endif #endif so should this be __INSIDE_CYGWIN__ instead or something else? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection

[PATCH 1/3] Cygwin: fhandler/proc.cc(format_proc_cpuinfo): Linux 6.10 flags added

2024-07-18 Thread Brian Inglis
0x800a EDX 18 x2avic virtual x2apic 0x8022 EAX 2 amd_lbr_pmc_freeze AMD last br rec and perf mon ctrs freeze Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 8 1 file changed, 8 insertions(+) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup

[PATCH 2/3] Cygwin: fhandler/proc.cc(format_proc_cpuinfo): add newlines

2024-07-18 Thread Brian Inglis
-July/256223.html Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc index d8ab522a8235..e85ed4ff06ed 100644 --- a/winsup/cygwin/fhandler/proc.cc +++ b

[PATCH 0/3] Cygwin: fhandler/proc.cc(format_proc_cpuinfo): Linux 6.10 changes

2024-07-18 Thread Brian Inglis
n comments, instead of requiring a null quoted string "" at the start of comments to suppress flag name output. As a result, some flags (not all for output) were renamed and others moved. Brian Inglis (3): Cygwin: fhandler/proc.cc(format_proc_cpuinfo): Linux 6.10 flags added Cygw

[PATCH 3/3] Cygwin: fhandler/proc.cc(format_proc_cpuinfo): Linux 6.10 flags resync

2024-07-18 Thread Brian Inglis
- change dts to ds; move intel_ppin down; swap ibpd and ibrs; - change some flag names and descriptions that are not output. Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 35 +- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/win

Re: /proc//{cwd, root} links to for cygrunsrv, daemons, and shells

2024-04-09 Thread Brian Inglis
On 2024-04-09 07:08, Corinna Vinschen wrote: On Apr 7 13:34, Brian Inglis wrote: ISTM anomalous that for cygrunsrv, daemons, cron processes, and shells /proc//{cwd,root} have bad symlinks to "", normally a process or exe status: /proc/732/exe -> /usr/bin/cygrunsrv /proc/732/ro

/proc//{cwd, root} links to for cygrunsrv, daemons, and shells

2024-04-07 Thread Brian Inglis
-> /proc/2082/cwd -> Should we consider changing that to root "/", or nothing, null, or something meaningful? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'

Re: [PATCH] winsup/cygwin/fhandler/proc.cc: format_proc_cpuinfo() Linux 6.8 cpuinfo flags

2024-03-18 Thread Brian Inglis
On 2024-03-18 09:45, Corinna Vinschen wrote: On Mar 18 08:10, Brian Inglis wrote: On 2024-03-18 03:33, Corinna Vinschen wrote: On Mar 16 10:44, Brian Inglis wrote: add Linux 6.8 cpuinfo flags: Intel 0x0007:1 eax:17 fred Flexible Return and Event Delivery; AMD 0x801f eax:4

Re: [PATCH] winsup/cygwin/fhandler/proc.cc: format_proc_cpuinfo() Linux 6.8 cpuinfo flags

2024-03-18 Thread Brian Inglis
On 2024-03-18 03:33, Corinna Vinschen wrote: Hi Brian, On Mar 16 10:44, Brian Inglis wrote: add Linux 6.8 cpuinfo flags: Intel 0x0007:1 eax:17 fred Flexible Return and Event Delivery; AMD 0x801f eax:4 sev_snp SEV secure nested paging; document unused and some

[PATCH] winsup/cygwin/fhandler/proc.cc: format_proc_cpuinfo() Linux 6.8 cpuinfo flags

2024-03-16 Thread Brian Inglis
add Linux 6.8 cpuinfo flags: Intel 0x0007:1 eax:17 fred Flexible Return and Event Delivery; AMD 0x801f eax:4 sev_snp SEV secure nested paging; document unused and some unprinted bits that could look like omissions; fix typos and misalignments; Signed-off-by: Brian

Re: newlib-cygwin build fails on dumper

2024-03-15 Thread Brian Inglis
On 2024-03-15 03:10, Corinna Vinschen wrote: On Mar 14 10:10, Brian Inglis wrote: During newlib-cygwin build to test patches, with latest current stable packages as of last weekend, and yesterday's repo main/master, get a warning, then errors building dumper: I'm pretty sure this

newlib-cygwin build fails on dumper

2024-03-14 Thread Brian Inglis
1.3.1-1OK Any ideas what might be going wrong here or what I may be missing? -- 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 th

Re: [PATCH] fix(libc): Fix handle of %E & %O modifiers at end of format string

2023-11-13 Thread Brian Inglis
another POSIX alternate libc issue - hosted under a Win64 environment. -- 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

Re: [PATCH] fix(libc): Fix handle of %E & %O modifiers at end of format string

2023-11-10 Thread Brian Inglis
On 2023-11-10 10:44, Pedro Luis Castedo Cepeda wrote: El 10/11/2023 a las 11:16, Corinna Vinschen escribió: On Nov  9 23:17, Brian Inglis wrote: On 2023-11-09 12:04, Pedro Luis Castedo Cepeda wrote: - Prevent strftime to parsing format string beyond its end when     it finish with "%E&qu

Re: [PATCH] fix(libc): Fix handle of %E & %O modifiers at end of format string

2023-11-09 Thread Brian Inglis
for the format *character* (possibly wide) not matching following any modifiers. Patches to newlib should go to the newlib mailing list at sourceware dot org. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achiev

[PATCH v2] Cygwin: cpuinfo: Linux 6.5 additions

2023-09-01 Thread Brian Inglis
add AMD 0x801f EAX 14 debug_swap SEV-ES full debug state swap Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc index cbc49a12a417..be107cb8eacc

Re: [PATCH] Cygwin: cpuinfo: Linux 6.5: add AMD 0x8000001f EAX 14 debug_swap SEV-ES full debug state swap

2023-08-31 Thread Brian Inglis
names, for display, as in this case. On Aug 30 22:10, Brian Inglis wrote: Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc index cbc49a12a4

[PATCH] Cygwin: cpuinfo: Linux 6.5: add AMD 0x8000001f EAX 14 debug_swap SEV-ES full debug state swap

2023-08-30 Thread Brian Inglis
Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc index cbc49a12a417..be107cb8eacc 100644 --- a/winsup/cygwin/fhandler/proc.cc +++ b/winsup/cygwin

Re: [PATCH] Cygwin: Make gcc-specific code in compiler-agnostic

2023-07-08 Thread Brian Inglis
he analyzer and formatter, which gcc does not provide. And it is convenient to be able to run another compiler side by side for comparisons without copying files and remoting to another system. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfecti

Re: [PATCH] Cygwin: Make gcc-specific code in compiler-agnostic

2023-07-08 Thread Brian Inglis
On 2023-07-07 12:54, Brian Inglis wrote: On 2023-07-07 03:44, Corinna Vinschen wrote: Hi Mark, On Jul  7 00:41, Mark Geisert wrote: The current version of cannot be compiled by Clang due to the use of __builtin* functions.  Their presence here was a dubious optimization anyway, so their

Re: [PATCH] Cygwin: Make gcc-specific code in compiler-agnostic

2023-07-07 Thread Brian Inglis
de/popcntintrin.h:_mm_popcnt_u64(unsigned long long __A) /usr/lib/clang/8.0.1/include/popcntintrin.h: return __builtin_popcountll(__A); /usr/lib/clang/8.0.1/include/popcntintrin.h:_popcnt64(long long __A) /usr/lib/clang/8.0.1/include/popcntintrin.h: return __builtin_popcountll(__A); -- Take c

Re: [PATCH] Cygwin: Make safe for c89 compilations

2023-07-02 Thread Brian Inglis
urn code and errno set by renameat2, if oldfile and newfile refer to the same file, and the RENAME_NOREPLACE flag is set. Addresses: https://cygwin.com/pipermail/cygwin/2023-April/253514.html + +- Make safe for c89 compilations. + Addresses: https://cygwin.com/pipermail/cygwin-patches/2023

Re: [PATCH v2] Cygwin: Fix type mismatch on sys/cpuset.h

2023-07-01 Thread Brian Inglis
tinyproxy/issues/499 /usr/include/sys/cdefs.h appears to support using __inline instead of __inline__ or inline, and is included many places __inline is used: it appears to be necessary, but may not be sufficient. -- Take care. Thanks, Brian Inglis Calgary, Alberta,

Re: [PATCH v4 0/3] use wincap in format_proc_cpuinfo for user_shstk

2023-06-21 Thread Brian Inglis
On 2023-06-21 02:22, Corinna Vinschen wrote: On Jun 20 22:50, Brian Inglis wrote: On 2023-06-20 02:22, Corinna Vinschen wrote: Never mind, I fixed the remaining problems. Thanks for the patch, I pushed it with slight modifications to the commit messages. I'm a bit puzzled if my original

Re: [PATCH v4 0/3] use wincap in format_proc_cpuinfo for user_shstk

2023-06-20 Thread Brian Inglis
On 2023-06-20 02:22, Corinna Vinschen wrote: On Jun 19 12:15, Brian Inglis wrote: In test for for AMD/Intel Control flow Enforcement Technology user mode shadow stack support replace Windows version tests with test of wincap member addition has_user_shstk with Windows version dependent value

Re: [PATCH v3 0/3] use wincap in format_proc_cpuinfo for user_shstk

2023-06-19 Thread Brian Inglis
On 2023-06-19 02:55, Corinna Vinschen wrote: On Jun 16 15:26, Brian Inglis wrote: On 2023-06-16 13:51, Corinna Vinschen wrote: Hi Brian, On Jun 16 11:17, Brian Inglis wrote: v Fixes: 41fdb869f998 "fha

[PATCH v4 3/3] fhandler/proc.cc: use wincap.has_user_shstk

2023-06-19 Thread Brian Inglis
Fixes: 41fdb869f998 fhandler/proc.cc(format_proc_cpuinfo): Add Linux 6.3 cpuinfo Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc index

[PATCH v4 2/3] wincap.cc: set wincap member has_user_shstk true for 2004+

2023-06-19 Thread Brian Inglis
Fixes: 41fdb869f998 fhandler/proc.cc(format_proc_cpuinfo): Add Linux 6.3 cpuinfo Signed-off-by: Brian Inglis --- winsup/cygwin/wincap.cc | 10 ++ 1 file changed, 10 insertions(+) diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 91d5d9df8889..30d9c14e8d3b 100644 --- a

[PATCH v4 1/3] wincap.h: add wincap member has_user_shstk

2023-06-19 Thread Brian Inglis
Fixes: 41fdb869f998 fhandler/proc.cc(format_proc_cpuinfo): Add Linux 6.3 cpuinfo Signed-off-by: Brian Inglis --- winsup/cygwin/local_includes/wincap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/local_includes/wincap.h b/winsup/cygwin/local_includes/wincap.h index

[PATCH v4 0/3] use wincap in format_proc_cpuinfo for user_shstk

2023-06-19 Thread Brian Inglis
Signed-off-by: Brian Inglis Brian Inglis (3): wincap.h: add wincap member has_user_shstk wincap.cc: set wincap member has_user_shstk true for 2004+ fhandler/proc.cc: use wincap.has_user_shstk winsup/cygwin/fhandler/proc.cc| 8 winsup/cygwin/local_includes/wincap.h | 2

Re: [PATCH v3 0/3] use wincap in format_proc_cpuinfo for user_shstk

2023-06-16 Thread Brian Inglis
On 2023-06-16 13:51, Corinna Vinschen wrote: Hi Brian, On Jun 16 11:17, Brian Inglis wrote: v Fixes: 41fdb869f998 "fhandler/proc.cc(format_proc_cpuinfo): Add Linux 6.3 cp

[PATCH v3 3/3] fhandler/proc.cc: use wincap.has_user_shstk

2023-06-16 Thread Brian Inglis
Signed-off-by: Brian Inglis --- winsup/cygwin/fhandler/proc.cc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc index 3c79762e0fbd..cbc49a12a417 100644 --- a/winsup/cygwin/fhandler/proc.cc +++ b/winsup

[PATCH v3 2/3] wincap.cc: set wincap member has_user_shstk true for 2004+

2023-06-16 Thread Brian Inglis
Signed-off-by: Brian Inglis --- winsup/cygwin/wincap.cc | 10 ++ 1 file changed, 10 insertions(+) diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 91d5d9df8889..30d9c14e8d3b 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -31,6 +31,7 @@ static

[PATCH v3 1/3] wincap.h: add wincap member has_user_shstk

2023-06-16 Thread Brian Inglis
Signed-off-by: Brian Inglis --- winsup/cygwin/local_includes/wincap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/local_includes/wincap.h b/winsup/cygwin/local_includes/wincap.h index 29a7a63de7f6..c14872787ca2 100644 --- a/winsup/cygwin/local_includes/wincap.h +++ b

[PATCH v3 0/3] use wincap in format_proc_cpuinfo for user_shstk

2023-06-16 Thread Brian Inglis
dent value Signed-off-by: Brian Inglis Brian Inglis (3): wincap.h: add wincap member has_user_shstk wincap.cc: set wincap member has_user_shstk true for 2004+ fhandler/proc.cc: use wincap.has_user_shstk winsup/cygwin/fhandler/proc.cc| 8 winsup/cygwin/local_includes/win

Re: [PATCH v2 3/3] fhandler/proc.cc: use wincap.has_user_shstk

2023-06-15 Thread Brian Inglis
On 2023-06-15 01:11, Corinna Vinschen wrote: Hi Brian, thanks, that looks good, except this single snippet: On Jun 7 10:37, Brian Inglis wrote: --- winsup/cygwin/fhandler/proc.cc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/fhandler/proc.cc b

[PATCH v2 3/3] fhandler/proc.cc: use wincap.has_user_shstk

2023-06-07 Thread Brian Inglis
--- winsup/cygwin/fhandler/proc.cc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc index 3c79762e0fbd..2eaf436dc122 100644 --- a/winsup/cygwin/fhandler/proc.cc +++ b/winsup/cygwin/fhandler/proc.cc @@ -1486,

[PATCH v2 2/3] wincap.cc: set wincap member has_user_shstk for 2004+

2023-06-07 Thread Brian Inglis
--- winsup/cygwin/wincap.cc | 10 ++ 1 file changed, 10 insertions(+) diff --git a/winsup/cygwin/wincap.cc b/winsup/cygwin/wincap.cc index 91d5d9df8889..30d9c14e8d3b 100644 --- a/winsup/cygwin/wincap.cc +++ b/winsup/cygwin/wincap.cc @@ -31,6 +31,7 @@ static const wincaps wincap_8_1 = {

[PATCH v2 1/3] wincap.h: add wincap member has_user_shstk

2023-06-07 Thread Brian Inglis
--- winsup/cygwin/local_includes/wincap.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winsup/cygwin/local_includes/wincap.h b/winsup/cygwin/local_includes/wincap.h index 29a7a63de7f6..c14872787ca2 100644 --- a/winsup/cygwin/local_includes/wincap.h +++ b/winsup/cygwin/local_includes/winc

[PATCH v2 0/3] use wincap in format_proc_cpuinfo for user_shstk

2023-06-07 Thread Brian Inglis
replace Windows version tests with wincap test for AMD/Intel Control flow Enforcement Technology user mode shadow stack support Brian Inglis (3): wincap.h: add wincap member has_user_shstk wincap.cc: set wincap member has_user_shstk for 2004+ fhandler/proc.cc: use wincap.has_user_shstk

[PATCH] include/cygwin/limits.h: add XATTR_{NAME,SIZE,LIST}_MAX

2023-05-30 Thread Brian Inglis
within Cygwin one would try to read/list all. Thanks, Philippe -- Take care. Thanks, Brian Inglis Calgary, Alberta, CanadaFrom 824bcdf053bfb86570c7edda3c018626dc857a8b Mon Sep 17 00:00:00 2001 From: Philippe Cerfon Date: Tue, 30 May 2023 13:16:18 +0200 Subject: [PATCH] export XATTR_

Re: [PATCH] fhandler/proc.cc(format_proc_cpuinfo): Add Linux 6.3 cpuinfo

2023-05-22 Thread Brian Inglis
On 2023-05-21 14:32, Jon Turney wrote: On 12/05/2023 19:09, Brian Inglis wrote: On 2023-05-12 09:36, Jon Turney wrote: On 08/05/2023 04:12, Brian Inglis wrote: cpuid    0x0007:0 ecx:7 shstk Shadow Stack support & Windows [20]20H1/[20]2004+     => user_shstk User mode

Re: [PATCH] fhandler/proc.cc(format_proc_cpuinfo): Add Linux 6.3 cpuinfo

2023-05-12 Thread Brian Inglis
On 2023-05-12 09:36, Jon Turney wrote: On 08/05/2023 04:12, Brian Inglis wrote: cpuid    0x0007:0 ecx:7 shstk Shadow Stack support & Windows [20]20H1/[20]2004+     => user_shstk User mode program Shadow Stack support AMD SVM  0x800a:0 edx:25 vnmi virtual Non-M

[PATCH] fhandler/proc.cc(format_proc_cpuinfo): Add Linux 6.3 cpuinfo

2023-05-07 Thread Brian Inglis
cpuid0x0007:0 ecx:7 shstk Shadow Stack support & Windows [20]20H1/[20]2004+ => user_shstk User mode program Shadow Stack support AMD SVM 0x800a:0 edx:25 vnmi virtual Non-Maskable Interrrupts Sync AMD 0x8008:0 ebx flags across two output locations --- winsup/cy

Re: [PATCH v3 0/2] newlib/libc/time/strftime: fix multi-page table format issues

2023-02-22 Thread Brian Inglis
On 2023-02-22 13:10, Jon Turney wrote: On 21/02/2023 09:15, Corinna Vinschen wrote: Jon, I'd like your GTG on the patchset before merging it. Sorry, I don't think this patchset is good as is. On Feb 20 21:17, Brian Inglis wrote: Discussion about why newlib man generation by d

Re: Copyright outdated? in Cygwin/X FAQ 12.6 and not addressed in Cygwin FAQ 7.1 link

2023-02-21 Thread Brian Inglis
On 2023-02-21 02:12, Corinna Vinschen wrote: On Feb 20 13:20, Brian Inglis wrote: Hi folks, [Addressing to patches as that's where we'll fix it, and not a general issue.] Noticed that: https://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-copyright-cygwin "12.6. Who holds the c

Re: Copyright outdated? in Cygwin/X FAQ 12.6 and not addressed in Cygwin FAQ 7.1 link

2023-02-20 Thread Brian Inglis
On 2023-02-20 15:00, Jon Turney wrote: On 20/02/2023 20:20, Brian Inglis wrote: Hi folks, [Addressing to patches as that's where we'll fix it, and not a general issue.] Noticed that: https://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-copyright-cygwin "12.6. Who holds the c

Copyright outdated? in Cygwin/X FAQ 12.6 and not addressed in Cygwin FAQ 7.1 link

2023-02-20 Thread Brian Inglis
FAQ 12.6 should defer to Cygwin FAQ 7.1. Willing to submit FAQ patches ;^> -- 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 whe

Re: Cygwin build utils dumper fails - new prereqs required?

2023-02-17 Thread Brian Inglis
On 2023-02-17 06:14, Jon Turney wrote: On 16/02/2023 23:02, Brian Inglis wrote: Hi folks, Building Cygwin from latest repo testing some unrelated doc patches and updated Unicode tables. Cygwin utils fails to build dumper. References to elf and binutils debuginfo, and undefined references to

Cygwin build utils dumper fails - new prereqs required?

2023-02-16 Thread Brian Inglis
processing suppressed and paths sanitized! Are new prereqs required to be installed to satisfy, or something changed to suppress these references? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved

winsup/cygwin/sys/termios.h bit rates extension

2023-01-29 Thread Brian Inglis
compatibility code would be required to do an internal upgrade, and return an error for unsupported speeds, or should we add another bit to extend CBAUD/CBAUDEX to 0x0101f, and use higher indices 0x01010/0x01011? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection

newlib-cygwin master shortlog missing cygwin release tags

2023-01-02 Thread Brian Inglis
3.3.1 releasetag 14 months ago cygwin-3_3_0-releaseCygwin 3.3.0 releasetag so what am I not getting? -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a p

[PATCH] fhandler/proc.cc(format_proc_cpuinfo): add Linux 6.1 cpuinfo

2022-12-22 Thread Brian Inglis
Intel 0x0007:1 EAX:26 lam Linear Address Masking (& recent entries) --- winsup/cygwin/fhandler/proc.cc | 4 1 file changed, 4 insertions(+) diff --git a/winsup/cygwin/fhandler/proc.cc b/winsup/cygwin/fhandler/proc.cc index 6643d1f1aa0f..75a6a85517cd 100644 --- a/winsup/cygwin/fhandle

Re: [PATCH] add a reference to the official SPDX License List

2022-12-06 Thread Brian Inglis
cations/#current-version";>license expression + for the open source license(s) of the package source code. -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lor

[PATCH] strptime.cc(__strptime): add %q GNU quarter

2022-10-21 Thread Brian Inglis
--- winsup/cygwin/libc/strptime.cc | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/libc/strptime.cc b/winsup/cygwin/libc/strptime.cc index 3a9bdbb300d4..d1e635cd279f 100644 --- a/winsup/cygwin/libc/strptime.cc +++ b/winsup/cygwin/libc/strptime.cc @@ -570

[PATCH] strptime.cc(__strptime): add %i, %q, %v

2022-09-16 Thread Brian Inglis
[Please Reply All due to email issues] winsup/cygwin/libc/strptime.cc(__strptime): %i year in century [00..99] Synonym for "%y". Non-POSIX extension. [tm_year] %q GNU quarter of the year (from `<<1>>' to `<<4>>') [tm_mon] %v OSX/Ruby VMS/Oracle date "%d-%b-%Y". Non-POSIX extension. [tm_mday, tm_m

Re: [PATCH 0/3] strftime, strptime: add %i, %q, %v, tests; tweak %Z docs

2022-09-15 Thread Brian Inglis
On 2022-09-15 11:45, Jon Turney wrote: On 14/09/2022 03:52, Brian Inglis wrote: [Please Reply All due to email issues] newlib/libc/time/strftime.c(strftime): add %i, %q, %v, tests; tweak %Z docs newlib/libc/time/strptime.c(strptime_l): add %i, %q, %v winsup/cygwin/libc/strptime.cc(__strptime

Cygwin 32 Build Branch

2022-09-13 Thread Brian Inglis
:42:2: error: #error unimplemented for this target 42 | #error unimplemented for this target | ^ make[3]: *** [Makefile:36280: libm/math/libm_a-k_standard.o] Error 1 ... -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada [Please Reply All due to ml email issues]

[PATCH 1/3] strftime.c(__strftime): add %i, %q, %v, tests; tweak %Z docs

2022-09-13 Thread Brian Inglis
newlib/libc/time/strftime.c(__strftime): %i year in century [00..99] Synonym for "%y". Non-POSIX extension. [tm_year] %q GNU quarter of the year (from `<<1>>' to `<<4>>') [tm_mon] %v OSX/Ruby VMS/Oracle date "%d-%b-%Y". Non-POSIX extension. [tm_mday, tm_mon, tm_year] %Z clarify current time zone

[PATCH 3/3] strptime.cc(__strptime): add %i, %q, %v

2022-09-13 Thread Brian Inglis
winsup/cygwin/libc/strptime.cc(__strptime): %i year in century [00..99] Synonym for "%y". Non-POSIX extension. [tm_year] %q GNU quarter of the year (from `<<1>>' to `<<4>>') [tm_mon] %v OSX/Ruby VMS/Oracle date "%d-%b-%Y". Non-POSIX extension. [tm_mday, tm_mon, tm_year] --- winsup/cygwin/libc/st

[PATCH 2/3] strptime.c(strptime_l): add %i, %q, %v

2022-09-13 Thread Brian Inglis
newlib/libc/time/strptime.c(strptime_l): %i year in century [00..99] Synonym for "%y". Non-POSIX extension. [tm_year] %q GNU quarter of the year (from `<<1>>' to `<<4>>') [tm_mon] %v OSX/Ruby VMS/Oracle date "%d-%b-%Y". Non-POSIX extension. [tm_mday, tm_mon, tm_year]: --- newlib/libc/time/strpti

[PATCH 0/3] strftime, strptime: add %i, %q, %v, tests; tweak %Z docs

2022-09-13 Thread Brian Inglis
extension. [tm_year] %q GNU quarter of the year (from `<<1>>' to `<<4>>') [tm_mon] %v OSX/Ruby VMS/Oracle date "%d-%b-%Y". Non-POSIX extension. [tm_mday, tm_mon, tm_year] add %i %q %v tests %Z clarify current time zone *abbreviation* not "name"

Re: [PATCH] Update FAQs which are out of date on the details of setup UI

2022-07-28 Thread Brian Inglis
On 2022-07-28 10:42, Jon Turney wrote: On 23/07/2022 21:46, Brian Inglis wrote: On 2022-07-11 01:45, Corinna Vinschen wrote: On Jul  7 12:44, Jon Turney wrote: ---   winsup/doc/faq-setup.xml | 11 ++-   winsup/doc/faq-using.xml | 14 +++---   2 files changed, 13 insertions

Re: [PATCH] Update FAQs which are out of date on the details of setup UI

2022-07-23 Thread Brian Inglis
/cygwin-apps/setup.html";>Cygwin Setup program page. +the https://cygwin.com/package-server.html.html";>Cygwin Package Server page. ... -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technica

Re: [PATCH] Update FAQs for removal of 32-bit Cygwin

2022-07-11 Thread Brian Inglis
On 2022-07-11 01:44, Corinna Vinschen wrote: On Jul 7 12:43, Jon Turney wrote: Update FAQs for removal of 32-bit Cygwin Also update FAQs for dropping support for Windows Vista/Server 20008 Now that's planning ahead! Talk about the Cygwin Time Machine ;^> -- Take care. Thanks, Bria

Re: [EXTERNAL] Re: [PATCH] Cygwin: spawn: Treat empty path as the current directory.

2022-06-30 Thread Brian Inglis
n the existence of the feature or behavior. An application that relies on such a feature or behavior cannot be assured to be portable across conforming implementations. For an application, describes a feature or behavior that is recommended programming practice for optimum portability."

[PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.18 cpuinfo flags

2022-05-25 Thread Brian Inglis
0x8008:0 EBX:31 brs AMD Branch Sampling available 0x8022:0 EAX:0 perfmon_v2 AMD ExtPerfMonAndDbg Performance Monitoring Version 2 0x0021:0 EBX|EDX|ECX=="IntelTDX" tdx_guest Intel Trust Domain Extensions- Guest Support --- winsup/cygwin/fhandler_proc.cc | 22 +++

[PATCH 0/1] fhandler_process.cc(format_process_stat): fix /proc/pid/stat issues

2022-05-10 Thread Brian Inglis
mer 22 starttime 10:25.009 start 23 vsize 7241728 memory 24 rss2901 pages 25 rsslim 1413120 limit Brian Inglis (1): fhandler_process.cc(format_process_stat): fix /proc/pid/stat issues winsup/cygwin/fhandler_process.cc | 33 +++

[PATCH 1/1] fhandler_process.cc(format_process_stat): fix /proc/pid/stat issues

2022-05-10 Thread Brian Inglis
fix tty_nr maj/min bits, vmmaxrss units, and x86 format mismatch: ctty maj is 31:16, min is 15:0; tty_nr s/b maj 15:8, min 31:20, 7:0; vmmaxrss s/b bytes not pages; times all 64 bit - change formats of first two instances from %lu to %U; realign sprintf formats and variables/values in more logical

[PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux Superb Owl cpuinfo flags

2022-03-23 Thread Brian Inglis
0x0007:1 EBX:0 intel_ppin Intel Protected Processor Inventory Number 0x0006:0 EAX:19 hfi Hardware Feedback Interface 0x0007:0 EDX:20 ibt Intel Indirect Branch Tracking --- winsup/cygwin/fhandler_proc.cc | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-

Re: Cygwin sysconf.cc

2022-03-02 Thread Brian Inglis
On 2022-03-02 01:25, Corinna Vinschen wrote: Hi Brian, On Mar 1 13:20, Brian Inglis wrote: Interested in a patch for sysconf.cc to return: _SC_TZNAME_MAX => TZNAME_MAX and _SC_MONOTONIC_CLOCK => _POSIX_MONOTONIC_CLOCK? not sure I understand the question. Both are already imple

Cygwin sysconf.cc

2022-03-01 Thread Brian Inglis
Interested in a patch for sysconf.cc to return: _SC_TZNAME_MAX => TZNAME_MAX and _SC_MONOTONIC_CLOCK => _POSIX_MONOTONIC_CLOCK? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail.

Re: [PATCH 0/2] Provide virtual /dev/fd and /dev/{stdin,stdout,stderr} symlinks

2022-02-25 Thread Brian Inglis
0 May 14 2013 mqueue/ so they would all get 2006-12-01 00:00:00+ birth time. [Looks like I ran something using shm in 2017!] -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion

[PATCH] fhandler_proc.cc(format_proc_cpuinfo): fix bad bits in last change

2022-02-15 Thread Brian Inglis
move Linux 5.16 Gobble Gobble flags to 5.17 Superb Owl correct positions: 0x0007:1 Intel Advanced Matrix eXtensions: EAX:22 amx_bf16 Brain Float 16 dot product EAX:24 amx_tile Tile matrix multiply EAX:25 amx_int8 Int 8 byte dot product 0x0

Re: [PATCH] update site goldstar award types images from jpg/png to webp

2022-02-05 Thread Brian Inglis
On 2022-02-05 10:50, Marco Atzeri wrote: On 05.02.2022 15:26, Jon Turney wrote: On 02/02/2022 20:41, Corinna Vinschen wrote: On Feb  2 11:49, Brian Inglis wrote: On 2022-02-02 02:44, Corinna Vinschen wrote: On Feb  1 23:59, Brian Inglis wrote: [...] Would you be interested in a similar

Re: [PATCH] update site goldstar award types images from jpg/png to webp

2022-02-02 Thread Brian Inglis
On 2022-02-02 02:44, Corinna Vinschen wrote: On Feb 1 23:59, Brian Inglis wrote: Our images at cygwin-htdocs/goldstars/img/ seemed large for small icons: $ wc -c img/* 3473 img/dungbomb.png 1074 img/goldstar.png 1303 img/goldwatch.png 9382 img/pinkwatch.jpg 877 img

[PATCH] update site goldstar award types images from jpg/png to webp

2022-02-01 Thread Brian Inglis
Our images at cygwin-htdocs/goldstars/img/ seemed large for small icons: $ wc -c img/* 3473 img/dungbomb.png 1074 img/goldstar.png 1303 img/goldwatch.png 9382 img/pinkwatch.jpg 877 img/platinumwatch.jpg 878 img/plush_hippo.jpg 1055 img/silverstar.png 18042 total so converted them

Re: [PATCH 0/4] Silence more build rules

2022-01-19 Thread Brian Inglis
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.]

Re: [EXTERNAL] Re: [PATCH] Cygwin: Conditionally build documentation

2022-01-15 Thread Brian Inglis
r command (defaults to CC) CCASFLAGS assembler compiler flags (defaults to CFLAGS) Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . Cygwin home page: <https://cygwin.com>. --

Re: [EXTERNAL] Re: [PATCH 2/7] Use matching format for NTSTATUS

2022-01-15 Thread Brian Inglis
it's really hard to read. IDK what is exactly your point that you are trying to make, is my patch somehow incorrect, or what? Anton Lavrentiev Contractor NIH/NLM/NCBI -Original Message- From: Brian Inglis Sent: Friday, January 14, 2022 11:38 PM To: cygwin-patches@cygwin.com Su

Re: [PATCH] Cygwin: Conditionally build documentation

2022-01-14 Thread Brian Inglis
ation can be disabled with the --disable-doc +option to configure. ... probably won't appear on the web site until the next release. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader dis

Re: [PATCH 2/7] Use matching format for NTSTATUS

2022-01-14 Thread Brian Inglis
{ DPRINTF (statp->options & RES_DEBUG, - "RtlQueryRegistryValues: status %p\n", status); + "RtlQueryRegistryValues: status 0x%08x\n", status); "RtlQueryRegistryValues: status %#08x\n", status); return;

Re: [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags

2022-01-12 Thread Brian Inglis
On 2022-01-12 03:18, Corinna Vinschen wrote: On Jan 11 23:04, Brian Inglis wrote: Subject: [PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags Gobble Gobble? Did I miss something or is that a preliminary subject line? :) Linux 5.16 codename from rc3 which

[PATCH] fhandler_proc.cc(format_proc_cpuinfo): add Linux 5.16 Gobble Gobble flags

2022-01-11 Thread Brian Inglis
0x0007:1 Intel Advanced Matrix eXtensions: EAX:22 amx_bf16 Brain Float 16 dot product EAX:24 amx_tile Tile matrix multiply EAX:25 amx_int8 Int 8 byte dot product 0x8008:0 AMD EBX:27 cppc Collaborative Processor Performance Control ---

Re: [PATCH v2] Cygwin: clipboard: Fix a bug in read().

2021-12-07 Thread Brian Inglis
On 2021-12-07 23:30, Mark Geisert wrote: Brian Inglis wrote: On 2021-12-07 13:18, Thomas Wolff wrote: Am 07.12.2021 um 15:23 schrieb Corinna Vinschen: On Dec  7 23:00, Takashi Yano wrote: - Fix a bug in fhandler_dev_clipboard::read() that the second read    fails with 'Bad ad

Re: [PATCH v2] Cygwin: clipboard: Fix a bug in read().

2021-12-07 Thread Brian Inglis
buf[1])) + pos, ret); If the intent is to address: clipbuf + pos + 1 use either that or: &clipbuf[pos + 1] to avoid obscuring the intent, and add comments to make it clearer! -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to so

Re: [PATCH 0/2] Fix a bad case of absolute path handling

2021-11-12 Thread Brian Inglis
cmd type command or subcommand. Shell expands /? to list of all mapped drives /c /d ... /s /v /y which gives you a bunch of potentially destructive switches. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technica

[PATCH] format_proc_cpuinfo: add Linux 5.13 AMD/Hygon rapl

2021-06-29 Thread Brian Inglis
Linux 5.13 Opossums on Parade added features and changes: add AMD 0x8007 EDX:14 rapl runtime average power limit --- winsup/cygwin/fhandler_proc.cc | 8 1 file changed, 8 insertions(+) diff --git a/winsup/cygwin/fhandler_proc.cc b/winsup/cygwin/fhandler_proc.cc index 7cd0b3af02a2..2

Re: [PATCH] Use automake (v5)

2021-05-02 Thread Brian Inglis
with upstream, by toggling off -Werror, or specific -Wno-... options which could result in suppressing useful output, as well as delaying package releases. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical d

Re: [PATCH] format_proc_swaps: ensure space between fields for clarity

2021-04-30 Thread Brian Inglis
On 2021-04-30 13:06, Corinna Vinschen wrote: On Apr 30 07:19, Brian Inglis wrote: page/swap space name >= 40 or size/used >= 8 leaves no space between fields; ensure a space after name and add extra tabs after size and used fields; output appears like Linux 5.8 after changes to mm/sw

[PATCH] format_proc_swaps: ensure space between fields for clarity

2021-04-30 Thread Brian Inglis
page/swap space name >= 40 or size/used >= 8 leaves no space between fields; ensure a space after name and add extra tabs after size and used fields; output appears like Linux 5.8 after changes to mm/swapfile(swap_show); proc-swaps-space-before.log: ==> /proc/swaps <== Filename

[PATCH] format_proc_cpuinfo: add v_spec_ctrl, bus_lock_detect

2021-04-27 Thread Brian Inglis
Linux 5.12 Frozen Wasteland added features and changes: add AMD 0x800a EDX:20 v_spec_ctrl virtual speculation control support add Intel 0x0007 ECX:24 bus_lock_detect bus lock detect debug exception --- winsup/cygwin/fhandler_proc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wi

Re: [PATCH 0/2] Return appropriate handle by _get_osfhandle() and GetStdHandle().

2021-03-23 Thread Brian Inglis
s a separate issue, I'm not sure all the complex gymnastics run does to creste the window invisibly are doing anything useful, since we seem to briefly show the window and then hide it) Shortcut does: C:\...\cygwin64\bin\run.exe --quote /usr/bin/bash.exe -l -c "cd; exec /usr/bin/startx

Re: [PATCH] winsup/doc/dll.xml: update MinGW/.org to MinGW-w64/.org

2021-03-08 Thread Brian Inglis
On 2021-03-08 13:55, Corinna Vinschen via Cygwin-patches wrote: On Mar 8 15:20, Ken Brown via Cygwin-patches wrote: On 3/8/2021 2:09 PM, Achim Gratz wrote: Brian Inglis writes: It's normally a merge conflict which will not be satisfied by regular commands to restore the working fil

Re: [PATCH] winsup/doc/dll.xml: update MinGW/.org to MinGW-w64/.org

2021-03-08 Thread Brian Inglis
On 2021-03-08 10:38, Achim Gratz wrote: Brian Inglis writes: Thanks - I'll try to remember to try that - on a pull conflict I normally try to checkout -- file(s), then -f, then origin/master, then plus -f, with status checks between, then commit -m merge when required, and re-pull origin/m

Re: [PATCH] winsup/doc/dll.xml: update MinGW/.org to MinGW-w64/.org

2021-03-08 Thread Brian Inglis
On 2021-03-08 03:14, Corinna Vinschen via Cygwin-patches wrote: On Mar 7 13:26, Brian Inglis wrote: On 2021-03-07 12:15, Jon Turney wrote: On 07/03/2021 16:31, Brian Inglis wrote:   winsup/doc/dll.xml | 5 +++--   1 file changed, 3 insertions(+), 2 deletions(-) I don't think the

[PATCH 1/2] cygwin-htdocs/links.html: update MinGW.org reference

2021-03-08 Thread Brian Inglis
--- links.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/links.html b/links.html index ab2bb6e5d7d5..705e60c023a8 100755 --- a/links.html +++ b/links.html @@ -22,10 +22,10 @@ as well. These binaries do not use the Cygwin DLL and only support the Windows APIs. -M

[PATCH 2/2] cygwin-htdocs/packaging-hint-files.html: update categories

2021-03-08 Thread Brian Inglis
--- packaging-hint-files.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging-hint-files.html b/packaging-hint-files.html index 025bbb4e5830..ceecd206737e 100755 --- a/packaging-hint-files.html +++ b/packaging-hint-files.html @@ -130,8 +130,8 @@ No actual moles wi

[PATCH 0/2] cygwin-htdocs: update MinGW references

2021-03-08 Thread Brian Inglis
update MinGW.org references and update package categories to remove MinGW Brian Inglis (2): cygwin-htdocs/links.html: update MinGW.org reference cygwin-htdocs/packaging-hint-files.html: update categories links.html| 4 ++-- packaging-hint-files.html | 4 ++-- 2 files changed

  1   2   3   >