Re: [rtems-libbsd commit] freebsd/nfsv4: Fix misaligned 64bit user dirent write

2022-06-20 Thread Chris Johns
On 20/6/22 4:14 pm, Sebastian Huber wrote:
> On 20/06/2022 04:57, Chris Johns wrote:
>> Module:    rtems-libbsd
>> Branch:    6-freebsd-12
>> Commit:    c56a34f54767decf3e398651c30bea9ebbd9572a
>> Changeset:http://git.rtems.org/rtems-libbsd/commit/?id=c56a34f54767decf3e398651c30bea9ebbd9572a
>>
>>
>> Author:    Chris Johns
>> Date:  Mon Jun 20 12:44:41 2022 +1000
>>
>> freebsd/nfsv4: Fix misaligned 64bit user dirent write
> 
> The tl2 is a pointer to uint32_t. On which platform did this case a problem?
> Platforms should support misaligned load/store operations to normal memory.

Ah OK and thanks. It may be the cookie access. I will have to look again. The
exe it LTO optimized without rtems or libbsd having fat object files. The one
change fixed stopped the crash but I will take a close look.

Chris
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Re: [rtems-libbsd commit] freebsd/nfsv4: Fix misaligned 64bit user dirent write

2022-06-20 Thread Sebastian Huber

On 20/06/2022 04:57, Chris Johns wrote:

Module:rtems-libbsd
Branch:6-freebsd-12
Commit:c56a34f54767decf3e398651c30bea9ebbd9572a
Changeset:http://git.rtems.org/rtems-libbsd/commit/?id=c56a34f54767decf3e398651c30bea9ebbd9572a

Author:Chris Johns
Date:  Mon Jun 20 12:44:41 2022 +1000

freebsd/nfsv4: Fix misaligned 64bit user dirent write


The tl2 is a pointer to uint32_t. On which platform did this case a 
problem? Platforms should support misaligned load/store operations to 
normal memory.


--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.hu...@embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
___
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel