Displaying 19 results from an estimated 19 matches for "__uint64_t".
2013 Nov 27
0
[PATCH 1/4] efi: Fix PE header field rva_and_sizes_nr
...c
@@ -102,7 +102,7 @@ static void write_header(FILE *f, __uint32_t entry, size_t data_size,
e_hdr.image_sz = total_sz;
e_hdr.headers_sz = 512;
e_hdr.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION;
- e_hdr.rva_and_sizes_nr = 1;
+ e_hdr.rva_and_sizes_nr = sizeof(e_hdr.data_directory) / sizeof(__uint64_t);
fwrite(&e_hdr, sizeof(e_hdr), 1, f);
}
else if (class == ELFCLASS64) {
@@ -130,7 +130,7 @@ static void write_header(FILE *f, __uint32_t entry, size_t data_size,
e_hdr_pe32p.image_sz = total_sz;
e_hdr_pe32p.headers_sz = 512;
e_hdr_pe32p.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATI...
2013 Dec 01
0
[PATCH v2 1/4] efi: Fix PE header field rva_and_sizes_nr
...c
@@ -102,7 +102,7 @@ static void write_header(FILE *f, __uint32_t entry, size_t data_size,
e_hdr.image_sz = total_sz;
e_hdr.headers_sz = 512;
e_hdr.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION;
- e_hdr.rva_and_sizes_nr = 1;
+ e_hdr.rva_and_sizes_nr = sizeof(e_hdr.data_directory) / sizeof(__uint64_t);
fwrite(&e_hdr, sizeof(e_hdr), 1, f);
}
else if (class == ELFCLASS64) {
@@ -130,7 +130,7 @@ static void write_header(FILE *f, __uint32_t entry, size_t data_size,
e_hdr_pe32p.image_sz = total_sz;
e_hdr_pe32p.headers_sz = 512;
e_hdr_pe32p.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATI...
2024 Oct 29
1
FYI: fix for big-endian systems pushed to V_9_9 branch
...OpenSSH will make this key exchange algorithm the
> default.
>
I tried to update my Solaris builds but ran into a build error.
In file included from kexmlkem768x25519.c:50:
libcrux_mlkem768_sha3.h: In function 'core_num__u64_9__to_le_bytes':
libcrux_mlkem768_sha3.h:164: error: '__uint64_t' undeclared (first use
in this function)
libcrux_mlkem768_sha3.h:164: error: (Each undeclared identifier is
reported only once
libcrux_mlkem768_sha3.h:164: error: for each function it appears in.)
libcrux_mlkem768_sha3.h: In function 'core_num__u64_9__from_le_bytes':
libcrux_mlkem768_...
2013 Nov 27
20
[PATCH 0/4] efi: PE header generation fix
The PE headers of the generated efi file were quite buggy. And since OVMF
perform a few consistency checks, syslinux was unable to run on it. I don't
pretend to have a thorough understanding of the PE+ headers, some bugs may
remain. :)
Celelibi (4):
efi: Fix PE header field rva_and_sizes_nr
efi: Location, size and alignment of .text section
efi: Useless relocations in PE file
efi: PE
2024 Oct 29
1
FYI: fix for big-endian systems pushed to V_9_9 branch
...rithm the
> > default.
> >
>
> I tried to update my Solaris builds but ran into a build error.
>
> In file included from kexmlkem768x25519.c:50:
> libcrux_mlkem768_sha3.h: In function 'core_num__u64_9__to_le_bytes':
> libcrux_mlkem768_sha3.h:164: error: '__uint64_t' undeclared (first use in this
> function)
> libcrux_mlkem768_sha3.h:164: error: (Each undeclared identifier is reported
> only once
> libcrux_mlkem768_sha3.h:164: error: for each function it appears in.)
> libcrux_mlkem768_sha3.h: In function 'core_num__u64_9__from_le_bytes&...
2006 Oct 17
6
[PATCH 3/3] Add support for OpenBSD
Hi!
This is the third and last patch.
This patch makes the xen kernel buildable on OpenBSD by adding support for
ProPolice. ProPolice has been added to standard GCC in version 4.1.x under
the name Stack Smashing Protection (SSP).
Cheers
Christoph
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2017 Jun 21
2
Dovecot >=2.2.29 + Filesystem quota = incorrect storage information
...1 week */
#define QUOTAFILENAME "quota"
#define QUOTAGROUP "staff"
#define NR_DQHASH 43 /* Just an arbitrary number any
suggestions ? */
#define NR_DQUOTS 256 /* Number of quotas active at one time */
/* Old name for struct if_dqblk. */
struct dqblk
{
__uint64_t dqb_bhardlimit; /* absolute limit on disk quota blocks
alloc */
__uint64_t dqb_bsoftlimit; /* preferred limit on disk quota blocks */
__uint64_t dqb_curspace; /* current quota block count */
__uint64_t dqb_ihardlimit; /* maximum # allocated inodes */
__uint64_t dqb_isoftlimit;...
2017 Oct 17
0
Dovecot >=2.2.29 + Filesystem quota = incorrect storage information
...t;
> #define QUOTAGROUP "staff"
>
> #define NR_DQHASH 43????????? /* Just an arbitrary number any
> suggestions ? */
> #define NR_DQUOTS 256???????? /* Number of quotas active at one time */
>
> /* Old name for struct if_dqblk.? */
> struct dqblk
> ? {
> ??? __uint64_t dqb_bhardlimit;? /* absolute limit on disk quota blocks
> alloc */
> ??? __uint64_t dqb_bsoftlimit;? /* preferred limit on disk quota blocks */
> ??? __uint64_t dqb_curspace;??? /* current quota block count */
> ??? __uint64_t dqb_ihardlimit;? /* maximum # allocated inodes */
> ???...
2017 Jun 20
2
Dovecot >=2.2.29 + Filesystem quota = incorrect storage information
Hi,
I have problem with quota storage information in dovecot-2.2.29 (and
newer versions, too - 2.2.30.2).
I use FS quota backend.
............................
# 2.2.29.1 (e0b76e3): /etc/dovecot/dovecot.conf
# OS: Linux 4.4.68-1 x86_64
mail_plugins = quota
plugin {
quota = fs:User quota:mount=/poczta:user
quota2 = fs:Group quota:mount=/poczta:group
}
protocol imap {
2013 Dec 01
0
[PATCH v2 4/4] efi: PE file size differ from in-memory size
...izeof(e_hdr));
e_hdr.section_align = 4096;
e_hdr.file_align = 512;
- e_hdr.image_sz = hdr_sz + so_size;
+ e_hdr.image_sz = hdr_sz + so_memsz;
e_hdr.headers_sz = hdr_sz;
e_hdr.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION;
e_hdr.rva_and_sizes_nr = sizeof(e_hdr.data_directory) / sizeof(__uint64_t);
@@ -123,7 +123,7 @@ static void write_header(FILE *f, __uint32_t entry, size_t data_size,
memset(&e_hdr_pe32p, 0, sizeof(e_hdr_pe32p));
e_hdr_pe32p.section_align = 4096;
e_hdr_pe32p.file_align = 512;
- e_hdr_pe32p.image_sz = hdr_sz + so_size;
+ e_hdr_pe32p.image_sz = hdr_sz + so_me...
2013 Nov 27
0
[PATCH 4/4] efi: PE file size differ from in-memory size
...izeof(e_hdr));
e_hdr.section_align = 4096;
e_hdr.file_align = 512;
- e_hdr.image_sz = hdr_sz + so_size;
+ e_hdr.image_sz = hdr_sz + so_memsz;
e_hdr.headers_sz = hdr_sz;
e_hdr.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION;
e_hdr.rva_and_sizes_nr = sizeof(e_hdr.data_directory) / sizeof(__uint64_t);
@@ -119,7 +119,7 @@ static void write_header(FILE *f, __uint32_t entry, size_t data_size,
memset(&e_hdr_pe32p, 0, sizeof(e_hdr_pe32p));
e_hdr_pe32p.section_align = 4096;
e_hdr_pe32p.file_align = 512;
- e_hdr_pe32p.image_sz = hdr_sz + so_size;
+ e_hdr_pe32p.image_sz = hdr_sz + so_me...
2024 Oct 27
3
FYI: fix for big-endian systems pushed to V_9_9 branch
Hi,
This is mostly a note for downstream distributors of OpenSSH. I've
just pushed fixes to the V_9_9 stable branch for a bug in the
mlkem768x25519-sha256 key exchange algorithm that was added in this
release that causes connection failures when connecting between
big-endian and little-endian hosts.
The problem is on the big-endian side. No change is required for
the more common
2013 Nov 29
1
[PATCH 1/4] efi: Fix PE header field rva_and_sizes_nr
...tic void write_header(FILE *f, __uint32_t entry, size_t data_size,
> e_hdr.image_sz = total_sz;
> e_hdr.headers_sz = 512;
> e_hdr.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION;
> - e_hdr.rva_and_sizes_nr = 1;
> + e_hdr.rva_and_sizes_nr = sizeof(e_hdr.data_directory) / sizeof(__uint64_t);
Since the data directories aren't ever used, can't we just delete them
and set rva_and_sizes_nr to 0?
--
Matt Fleming, Intel Open Source Technology Center
2004 Sep 21
1
Two Problems Cross-compiling
...rror before "inode"
rsync.h:354: error: parse error before "dev"
rsync.h:354: warning: type defaults to `int' in declaration of `dev'
rsync.h:354: warning: data definition has no type or storage class
make: *** [rsync.o] Error 1
I replace "unsigned off_t" with __uint64_t and all is well.
(2) The file lib/compat.c fails:
~/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-gcc -I. -I.
-g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c lib/compat.c -o lib/compat.o
lib/compat.c: In function `sys_gettimeofday':
lib/compat.c:202: error: too few arguments to fun...
2013 Nov 27
0
[PATCH 2/4] efi: Location, size and alignment of .text section
...e_hdr.section_align = 4096;
e_hdr.file_align = 512;
- e_hdr.image_sz = total_sz;
- e_hdr.headers_sz = 512;
+ e_hdr.image_sz = hdr_sz + so_size;
+ e_hdr.headers_sz = hdr_sz;
e_hdr.subsystem = IMAGE_SUBSYSTEM_EFI_APPLICATION;
e_hdr.rva_and_sizes_nr = sizeof(e_hdr.data_directory) / sizeof(__uint64_t);
fwrite(&e_hdr, sizeof(e_hdr), 1, f);
}
else if (class == ELFCLASS64) {
- hdr_sz = sizeof(o_hdr_pe32p) + sizeof(t_sec) + sizeof(e_hdr_pe32p) +
- sizeof(r_sec) + sizeof(c_hdr) + sizeof(hdr) + sizeof(c_rel)
- + sizeof(dummy);
- total_sz += hdr_sz;
- entry += hdr_sz;
c_hdr.arch...
2017 Nov 13
2
Building dovecot 2.2.33.2 is broken with uclibc-ng
...ot/usr/include/stdlib.h:41,
from ../../src/lib/lib.h:11,
from test-common.c:3:
/home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' was here
__bswap_64 (__uint64_t __bsx)
^~~~~~~~~~
In file included from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59:0,
from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/bits/waitstatus.h:72,
from /home...
2017 Nov 13
0
Building dovecot 2.2.33.2 is broken with uclibc-ng
...b.h:41,
> from ../../src/lib/lib.h:11,
> from test-common.c:3:
> /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/bits/byteswap-common.h:75:1: note: previous definition of '__bswap_64' was here
> __bswap_64 (__uint64_t __bsx)
> ^~~~~~~~~~
> In file included from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/endian.h:59:0,
> from /home/bernd/buildroot/br4/output/host/i586-buildroot-linux-uclibc/sysroot/usr/include/bits/waitstatus.h:72,
>...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...;
typedef unsigned long int __u_long;
typedef signed char __int8_t;
typedef unsigned char __uint8_t;
typedef signed short int __int16_t;
typedef unsigned short int __uint16_t;
typedef signed int __int32_t;
typedef unsigned int __uint32_t;
typedef signed long int __int64_t;
typedef unsigned long int __uint64_t;
typedef long int __quad_t;
typedef unsigned long int __u_quad_t;
typedef unsigned long int __dev_t;
typedef unsigned int __uid_t;
typedef unsigned int __gid_t;
typedef unsigned long int __ino_t;
typedef unsigned long int __ino64_t;
typedef unsigned int __mode_t;
typedef unsigned long int __nlink_t...