Benign freebsd download unavailable

thr_pshared.c

Maps a shared region read-only with mmapMaps a shared region writable with mmap
SHA-256715fe7f55bc120de00a929cabbeb53193fd5d3451615983241bdff9398b1a1e7
MaleculeH(Mg)

Evidence

English function-word token "the" lines 1–10
1/*-
2 * Copyright (c) 2015 The FreeBSD Foundation
3 *
4 * This software was developed by Konstantin Belousov
5 * under sponsorship from the FreeBSD Foundation.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:
10 * 1. Redistributions of source code must retain the above …
English function-word token "for" lines 18–19
18:6… PLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE …
imports namespace.h lines 25–44
25:47… VISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29#include <sys/types.h>
30#include <sys/mman.h>
31#include <sys/queue.h>
32#include "namespace.h"
33#include <stdlib.h>
34#include "un-namespace.h"
35
36#include "thr_private.h"
37
38struct psh {
⋯6 lines
English function-word token "have" lines 93–96
93:3… pthread_lock_destroy(). Other processes still have the hash and
94 * mapped off-page.
95 *
96 * Mitigate the problem by checking the liveness of all has …
Maps a shared region read-only with mmap lines 243–251
243:10… _SHM_LOOKUP, key, NULL);
244 if (fd == -1)
245 return (NULL);
246 res = mmap(NULL, page_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
247 close(fd);
248 if (res == MAP_FAILED)
249 return (NULL);
250 pshared_wlock(curthread);
251 ins_done = pshared_insert(key, &res); …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.