Commits on Source (30)
-
Since xserver is compiled as C99, we just can use the `inline` keyword. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Alan Coopersmith authored
Removes fallback code to fork and exec a "cat" command to read files. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
Yet another step of uncluttering includes: move out the BUG_* macros into a separate header, which then is included as-needed. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Matthieu Herrb authored
<dev/wscons/wsconsio.h> needs <sys/time.h> on OpenBSD. This doesn't cause issues on NetBSD Signed-off-by:
Matthieu Herrb <matthieu@herrb.eu>
-
Trivial functions without parameters -> (void)
-
The IOPL function for 64 bit systems is x86_64_iopl() there
-
-
Alan Coopersmith authored
Apollo Domain/OS died in the 1990's and has never been supported in the modular Xserver builds. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com>
-
isolate NetBSD specific VGAPCVTID ioctl(2) call. Signed-off-by:
Matthieu Herrb <matthieu@herrb.eu>
-
No need to define XKBSRV_NEED_FILE_FUNCS, for about 15 years now (since XKBsrv.h isn't used anymore), so drop it. Fixes: e5f002ed Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
glamor needs to be disabled if neither gbm nor eglstream is available, otherwise build breaks. Closes: #1631 Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
[585/699] Compiling C object hw/xfree86/int10/libint10.so.p/generic.c.o ../hw/xfree86/int10/generic.c:103:1: warning: ‘readIntVec’ defined but not used [-Wunused-function] 103 | readIntVec(struct pci_device *dev, unsigned char *buf, int len) Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net>
-
Potentially, the pointer to the mode name could be unset, this can occur with the xf86-video-nv DDX, in that case there isnt much we can do except check if the next mode is any better. Signed-off-by:
Yusuf Khan <yusisamerican@gmail.com>
-
With transition from autoconf to meson, these aren't actually supported anymore, and re-adding it isn't planned. Thus the now dead code pathes can be completely removed. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1286>
-
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1286>
-
Alan Coopersmith authored
I can't tell what this code was originally for - it was added in 1988, 4 years before the release of the SysV R4 release of Solaris 2.0, and I can't find anywhere that defined SUNSYSV. Signed-off-by:
Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <!1315>
-
The actual implementation uses Bool, but forward declaration is int. For the compiler it's practically the same, but for the programmer these have different semantics. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1313>
-
The "name" field doesn't actually hold the color's name, but instead the offset of the name in the string table block. Thus, fix the field's name to reflect this. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1313>
-
The old approach of builtin color lookup used a binary search of strings within text blocks (their start offsets defined in the color array). This could potentially lead to buffer overflow, if the requested color name far outreaches the text block (eg. same prefix as some entry near to the end, but really huge). This alone wouldn't allow remote memory readout (just comparing), but could possibly trigger page faults (sigsegv) or used as a building block for some more complex attack. OTOH, the old approach is also hard to maintain, ugly programming style: on each change, all the offset need to be carefully recounted, which is pretty error-prone. Both problems are solved by moving to simple, per-entry, char* pointers, instead of the one large text block. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1313>
-
The rpc authentication handling isn't really OS specific, and only few sites actually need to call it, so at least it's prototypes are better off in some separate header. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1311>
-
The xdmcp handling isn't really OS specific, and only few sites actually need to call it, so at least it's prototypes are better off in some separate header. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1311>
-
The xdmcp authentication handling isn't really OS specific, and only few sites actually need to call it, so at least it's prototypes are better off in some separate header. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1311>
-
The MIT authentication handling isn't really OS specific, and only few sites actually need to call it, so at least it's prototypes are better off in some separate header. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1311>
-
The generic auth handling isn't really OS specific, and only few sites actually need to call it, so at least it's prototypes are better off in some separate header. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1311>
-
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1291>
-
Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1292>
-
GCC reports: ../xkb/xkb.c: In function ‘_XkbSetMapCheckLength’: ../xkb/xkb.c:2464:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2464 | ErrorF("[xkb] BOGUS LENGTH in SetMap: expected %ld got %ld\n", | ~~^ | | | long int | %d 2465 | len, req_len); | ~~~ | | | size_t {aka unsigned int} ../xkb/xkb.c:2464:62: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 2464 | ErrorF("[xkb] BOGUS LENGTH in SetMap: expected %ld got %ld\n", | ~~^ | | | long int | %d 2465 | len, req_len); | ~~~~~~~ | | | size_t {aka unsigned int} Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1257>
-
GCC repors: ../hw/xfree86/drivers/modesetting/drmmode_display.c:4135:49: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 4135 | "Gamma ramp set to %ld entries on CRTC %d\n", | ~~^ | | | long int | %lld 4136 | size, num); | ~~~~ | | | uint64_t {aka long long unsigned int} ../hw/xfree86/drivers/modesetting/drmmode_display.c:4139:57: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’} [-Wformat=] 4139 | "Failed to allocate memory for %ld gamma ramp entries " | ~~^ | | | long int | %lld 4140 | "on CRTC %d.\n", 4141 | size, num); | ~~~~ | | | uint64_t {aka long long unsigned int} Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1257>
-
GCC reports: [1/2] Compiling C object hw/xwayland/Xwayland.p/xwayland.c.o ../hw/xwayland/xwayland.c: In function ‘try_raising_nofile_limit’: ../hw/xwayland/xwayland.c:161:72: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘rlim_t’ {aka ‘long long unsigned int’} [-Wformat=] 161 | LogMessageVerb(X_INFO, 3, "Raising the file descriptors limit to %li\n", | ~~^ | | | long int | %lli 162 | rlim.rlim_max); | ~~~~~~~~~~~~~ | | | rlim_t {aka long long unsigned int} Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <!1257>
-
The retro mode is still used, so keep it. But the flag variable really doesn't need to be part of public API. Signed-off-by:
Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <xorg/xserver!1273>
Showing
- Xext/security.c 1 addition, 1 deletionXext/security.c
- Xext/sync.c 1 addition, 0 deletionsXext/sync.c
- Xi/exevents.c 2 additions, 0 deletionsXi/exevents.c
- Xi/xibarriers.c 1 addition, 0 deletionsXi/xibarriers.c
- config/wscons.c 1 addition, 0 deletionsconfig/wscons.c
- dix/cursor.c 2 additions, 0 deletionsdix/cursor.c
- dix/devices.c 1 addition, 0 deletionsdix/devices.c
- dix/enterleave.c 2 additions, 0 deletionsdix/enterleave.c
- dix/events.c 2 additions, 0 deletionsdix/events.c
- dix/gestures.c 1 addition, 0 deletionsdix/gestures.c
- dix/getevents.c 1 addition, 0 deletionsdix/getevents.c
- dix/grabs.c 1 addition, 0 deletionsdix/grabs.c
- dix/inpututils.c 1 addition, 0 deletionsdix/inpututils.c
- dix/ptrveloc.c 1 addition, 0 deletionsdix/ptrveloc.c
- dix/region.c 2 additions, 2 deletionsdix/region.c
- dix/resource.c 1 addition, 1 deletiondix/resource.c
- dix/selection.c 1 addition, 1 deletiondix/selection.c
- dix/touch.c 1 addition, 0 deletionsdix/touch.c
- dri3/dri3_request.c 1 addition, 0 deletionsdri3/dri3_request.c
- exa/exa_classic.c 1 addition, 1 deletionexa/exa_classic.c