search for: __mode

Displaying 15 results from an estimated 15 matches for "__mode".

Did you mean: i_mode
2016 Jan 27
0
[klibc:master] Make posix_openpt() an inline
...de/stdlib.h index c2d6264..250755f 100644 --- a/usr/include/stdlib.h +++ b/usr/include/stdlib.h @@ -83,7 +83,14 @@ static __inline__ void srandom(unsigned int __s) __extern int unlockpt(int); __extern char *ptsname(int); -__extern int posix_openpt(int); + +static __inline__ int posix_openpt(int __mode) +{ + __extern int open(const char *, int, ...); + + __mode &= ~(O_CREAT | O_TMPFILE); + return open("/dev/ptmx", __mode); +} static __inline__ int grantpt(int __fd) { diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index a0e440d..eba6add 100644 --- a/usr/klibc/Kbuild +++ b/usr/k...
2015 Aug 11
3
libfuzzer questions
First off, thanks -- this is a pretty great library and it feels like I'm learning a lot. I'm getting some more experience with libfuzzer and finding that I have a couple of questions: - How does libfuzzer decide to write a new test file? What distinguishes this one from all the other cases for which new test inputs were not written? Must be something about the path taken through the
2015 Aug 11
3
libfuzzer questions
...har, std::__1::char_traits<char> >::setbuf (this=0x7fffd956b268, __s=0x0, __n=4096) #14 0x00000000005562be in std::__1::basic_filebuf<char, std::__1::char_traits<char> >::basic_filebuf (this=0x7fffd956b268) #15 0x00000000005409e5 in basic_ofstream (this=0x7fffd956b260, __s=..., __mode=16) at /home/brian/tmp/testing/testing_install/bin/../include/c++/v1/fstream:1166 #16 fuzzer::WriteToFile (U=..., Path=...) at /home/brian/tmp/testing/llvm_src//llvm/lib/Fuzzer/FuzzerIO.cpp:69 #17 0x0000000000579636 in fuzzer::Fuzzer::WriteToCrash (this=0x7fffd956f440, U=..., Prefix=0x1435ec0 <....
2020 Feb 25
2
[PATCH 04/12] drm: Nuke mode->vrefresh
...t of space and avoids the cached value getting out of sync > >>> with reality. > >>> > >>> Mostly done with cocci, with the following manual fixups: > >>> - Remove the now empty loop in drm_helper_probe_single_connector_modes() > >>> - Fix __MODE() macro in ch7006_mode.c > >>> - Fix DRM_MODE_ARG() macro in drm_modes.h > >>> - Remove leftover comment from samsung_s6d16d0_mode > >> ... > >>> diff --git a/drivers/gpu/drm/panel/panel-arm-versatile.c b/drivers/gpu/drm/panel/panel-arm-versatile.c >...
2020 Apr 03
0
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...de->vrefresh and just calculate it on demand. Saves > a bit of space and avoids the cached value getting out of sync > with reality. > > Mostly done with cocci, with the following manual fixups: > - Remove the now empty loop in drm_helper_probe_single_connector_modes() > - Fix __MODE() macro in ch7006_mode.c > - Fix DRM_MODE_ARG() macro in drm_modes.h > - Remove leftover comment from samsung_s6d16d0_mode > - Drop the TODO > > @@ > @@ > struct drm_display_mode { > ... > - int vrefresh; > ... > }; > > @@ > identifier N; > expressio...
2020 Feb 25
0
[PATCH 04/12] drm: Nuke mode->vrefresh
...cached value getting out of sync > > >>> with reality. > > >>> > > >>> Mostly done with cocci, with the following manual fixups: > > >>> - Remove the now empty loop in drm_helper_probe_single_connector_modes() > > >>> - Fix __MODE() macro in ch7006_mode.c > > >>> - Fix DRM_MODE_ARG() macro in drm_modes.h > > >>> - Remove leftover comment from samsung_s6d16d0_mode > > >> ... > > >>> diff --git a/drivers/gpu/drm/panel/panel-arm-versatile.c b/drivers/gpu/drm/panel/panel-a...
2020 Feb 25
2
[PATCH 04/12] drm: Nuke mode->vrefresh
...ulate it on demand. Saves > > a bit of space and avoids the cached value getting out of sync > > with reality. > > > > Mostly done with cocci, with the following manual fixups: > > - Remove the now empty loop in drm_helper_probe_single_connector_modes() > > - Fix __MODE() macro in ch7006_mode.c > > - Fix DRM_MODE_ARG() macro in drm_modes.h > > - Remove leftover comment from samsung_s6d16d0_mode > ... > > diff --git a/drivers/gpu/drm/panel/panel-arm-versatile.c b/drivers/gpu/drm/panel/panel-arm-versatile.c > > index 41444a73c980..47b37fef...
2020 Feb 19
5
[PATCH 04/12] drm: Nuke mode->vrefresh
...x.intel.com> Get rid of mode->vrefresh and just calculate it on demand. Saves a bit of space and avoids the cached value getting out of sync with reality. Mostly done with cocci, with the following manual fixups: - Remove the now empty loop in drm_helper_probe_single_connector_modes() - Fix __MODE() macro in ch7006_mode.c - Fix DRM_MODE_ARG() macro in drm_modes.h - Remove leftover comment from samsung_s6d16d0_mode @@ @@ struct drm_display_mode { ... - int vrefresh; ... }; @@ identifier N; expression E; @@ struct drm_display_mode N = { - .vrefresh = E }; @@ identifier N; expression E; @@...
2020 Feb 24
0
[PATCH 04/12] drm: Nuke mode->vrefresh
...ode->vrefresh and just calculate it on demand. Saves > a bit of space and avoids the cached value getting out of sync > with reality. > > Mostly done with cocci, with the following manual fixups: > - Remove the now empty loop in drm_helper_probe_single_connector_modes() > - Fix __MODE() macro in ch7006_mode.c > - Fix DRM_MODE_ARG() macro in drm_modes.h > - Remove leftover comment from samsung_s6d16d0_mode ... > diff --git a/drivers/gpu/drm/panel/panel-arm-versatile.c b/drivers/gpu/drm/panel/panel-arm-versatile.c > index 41444a73c980..47b37fef7ee8 100644 > --- a/dr...
2020 Feb 25
0
[PATCH 04/12] drm: Nuke mode->vrefresh
.... Saves >>> a bit of space and avoids the cached value getting out of sync >>> with reality. >>> >>> Mostly done with cocci, with the following manual fixups: >>> - Remove the now empty loop in drm_helper_probe_single_connector_modes() >>> - Fix __MODE() macro in ch7006_mode.c >>> - Fix DRM_MODE_ARG() macro in drm_modes.h >>> - Remove leftover comment from samsung_s6d16d0_mode >> ... >>> diff --git a/drivers/gpu/drm/panel/panel-arm-versatile.c b/drivers/gpu/drm/panel/panel-arm-versatile.c >>> index 41444a...
2009 Aug 13
9
[PATCHv2 01/10] drm/nouveau: Fix a lock up at NVSetOwner with nv11.
It seems it was only locking up in the context of nouveau_hw_save_vga_fonts, when it actually did something (because the console wasn't already in graphics mode). Signed-off-by: Francisco Jerez <currojerez at riseup.net> --- drivers/gpu/drm/nouveau/nouveau_hw.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.c
2009 Aug 12
14
[PATCH 00/12] TV-out modesetting kernel patches.
This patch series adds TV-out modesetting support to the KMS implementation. I've tried to test it on all the hardware I've got at hand (that is nv11, nv17, nv34, nv35, nv40, nv4b) with every possible output combination; I believe it has reached a mergeable state, however it depends on some commits from drm-next that haven't got into Linus' tree yet, if you agree to merge this
2020 Apr 03
3
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...x.intel.com> Get rid of mode->vrefresh and just calculate it on demand. Saves a bit of space and avoids the cached value getting out of sync with reality. Mostly done with cocci, with the following manual fixups: - Remove the now empty loop in drm_helper_probe_single_connector_modes() - Fix __MODE() macro in ch7006_mode.c - Fix DRM_MODE_ARG() macro in drm_modes.h - Remove leftover comment from samsung_s6d16d0_mode - Drop the TODO @@ @@ struct drm_display_mode { ... - int vrefresh; ... }; @@ identifier N; expression E; @@ struct drm_display_mode N = { - .vrefresh = E }; @@ identifier N;...
2020 Apr 04
0
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...;vrefresh and just calculate it on demand. Saves > a bit of space and avoids the cached value getting out of sync > with reality. > > Mostly done with cocci, with the following manual fixups: > - Remove the now empty loop in > drm_helper_probe_single_connector_modes() > - Fix __MODE() macro in ch7006_mode.c > - Fix DRM_MODE_ARG() macro in drm_modes.h > - Remove leftover comment from samsung_s6d16d0_mode > - Drop the TODO > > @@ > @@ > struct drm_display_mode { > ... > - int vrefresh; > ... > }; > > @@ > identifier N; > expressio...
2020 Apr 28
0
[PATCH v3 03/16] drm: Nuke mode->vrefresh
...x.intel.com> Get rid of mode->vrefresh and just calculate it on demand. Saves a bit of space and avoids the cached value getting out of sync with reality. Mostly done with cocci, with the following manual fixups: - Remove the now empty loop in drm_helper_probe_single_connector_modes() - Fix __MODE() macro in ch7006_mode.c - Fix DRM_MODE_ARG() macro in drm_modes.h - Remove leftover comment from samsung_s6d16d0_mode - Drop the TODO @@ @@ struct drm_display_mode { ... - int vrefresh; ... }; @@ identifier N; expression E; @@ struct drm_display_mode N = { - .vrefresh = E }; @@ identifier N;...