Re: [PATCH] cwm window center functionality

2019-05-03 Thread Charles
h that would need to be removed to disable re-sizing are obvious, but I am happy to remove them and re-submit if it's more convenient. Would it be useful to add separate bind-able function which resides a window either to an absolute size or to a fraction of screen size? Further thoughts, feedback, etc? ~ Charles

[PATCH] cwm window center functionality

2019-04-30 Thread Charles
y to tweak this code as needed based on feedback / testing. ~ Charles --- calmwm.h.orig Tue Apr 30 23:43:40 2019 +++ calmwm.hTue Apr 30 23:51:50 2019 @@ -396,6 +396,7 @@ void client_applysizehints(struct client_ctx *); voidclient_con

[patch] cwm: tile only within active monitor

2019-01-06 Thread Charles A Daniels
) (ci->geom not within area). Testing and feedback are welcome and appreciated! Regards, ~ Charles P.S. I would be curious to heard about others' development workflows for window managers. I've been compiling cwm, copying it to /usr/X11R6/bin, logging out, and logging back in.

Re: TLS with static non-PIE binaries

2017-11-09 Thread Charles Collicutt
o when statically linked. -- Charles

Re: TLS with static non-PIE binaries

2017-11-08 Thread Charles Collicutt
is is on AMD64 only; I don't have access to any other architecture for testing. -- Charles

Re: TLS with static non-PIE binaries

2017-11-06 Thread Charles Collicutt
on the fact that it will be fixed later. See: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg00284.html Anyway, that was just a simple example to demonstrate the problem. I don't expect that code to outlive the e-mail. (At least, I hope not...) -- Charles

Re: TLS with static non-PIE binaries

2017-11-05 Thread Charles Collicutt
> The diff below fixes that, at least on amd64 [...] I will test it. Thanks for your help and explanation. -- Charles

Re: TLS with static non-PIE binaries

2017-11-05 Thread Charles Collicutt
might cause the segfault I saw? If it's expected behaviour at this stage then that's fine. I just didn't think it looked right. -- Charles

Re: TLS with static non-PIE binaries

2017-11-05 Thread Charles Collicutt
On Sun, Nov 05, 2017 at 10:15:57PM +, Stuart Henderson wrote: > On 2017/11/05 21:08, Charles Collicutt wrote: > > I have a program that uses Thread-Local Storage (TLS) with the 'Local Exec' > > access model [1] on AMD64. This looks like it should work on OpenBSD and, &

TLS with static non-PIE binaries

2017-11-05 Thread Charles Collicutt
he GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-unk

Re: Static linking without PIE

2017-06-14 Thread Charles Collicutt
On 14 June 2017 at 19:22, Ted Unangst wrote: > Charles Collicutt wrote: > > That works, thank you. gcc-local(1) only mentions -nopie as an option for > > the linker, so I thought it ought to be passed with -Wl,... > > I think I would interpret that sentence to mean linker as

Re: Static linking without PIE

2017-06-14 Thread Charles Collicutt
t0 and also passes -nopie to the linker? And passing -nopie to the linker disables PIE generation but doesn't affect which crt0 it uses? -- Charles

Static linking without PIE

2017-06-14 Thread Charles Collicutt
ut instead it seems to try to link against rcrt0.o but fails. This was using 6.1-release. -- Charles

Re: PATCH: rtsol support for RA DNS options

2014-09-21 Thread Charles Musser
On Sep 21, 2014, at 11:50 AM, Theo de Raadt wrote: >> One way to manage the file is the "openresolv" script I mentioned >> earlier. The idea is that entities like dhclient invoke it with >> resolver information they want to use and the script merges requests >> from multiple sources. > > I do n

Re: PATCH: rtsol support for RA DNS options

2014-09-21 Thread Charles Musser
On Sep 21, 2014, at 11:02 AM, Theo de Raadt wrote: >> I didn't realize "autoconf" was in in the kernel and plumbed up >> through ifconfig. Centralizing this stuff seems like a cleaner way to >> do it than having rtsol/rtsold, in which case this patch is barking up >> the wrong tree. > > Yes, yo

Re: PATCH: rtsol support for RA DNS options

2014-09-21 Thread Charles Musser
I didn't realize "autoconf" was in in the kernel and plumbed up through ifconfig. Centralizing this stuff seems like a cleaner way to do it than having rtsol/rtsold, in which case this patch is barking up the wrong tree. Has any thought been given to pushing (or pulling) the DNS-related RA optio

Re: PATCH: rtsol support for RA DNS options

2014-09-21 Thread Charles Musser
On Sep 21, 2014, at 4:43 AM, Stuart Henderson wrote: > SMALL is needed to reduce storage requirements on ram disks. Makes sense. Here are executable sizes of the installed binaries on amd64, with -current and -current + this patch: -current: -r-xr-xr-x 1 root bin 136400 Sep 21 08:01 /sbin/r

Re: PATCH: rtsol support for RA DNS options

2014-09-20 Thread Charles Musser
Better patch, with validation in the domain name decoder function. Still unsure how to proceed with regards to the objection to "less SMALL". Chuck Index: dump.c === RCS file: /cvs/src/usr.sbin/rtsold/dump.c,v retrieving revision 1.

Re: PATCH: rtsol support for RA DNS options

2014-09-20 Thread Charles Musser
On Sep 20, 2014, at 3:36 PM, Sebastian Benoit wrote: > Charles Musser(cmus...@sonic.net) on 2014.09.20 14:44:45 -0700: >> +/* >> + * XXX validate that domain name only contains valid characters >> + * for two reasons: 1) correctness, 2) we do not want to pas

PATCH: rtsol support for RA DNS options

2014-09-20 Thread Charles Musser
The following patch adds processing for RDNSS and DNSSL RA options to rtsol(8) and rtsold(8), as a step toward conformance with RFC 6106. The code is ported from FreeBSD 10's implementation. These options are processed in a manner similar to the currently-supported "other config" option: when de