<commit_before>#include <sys/types.h>
#include <unistd.h>

#include "chaosvpn.h"

void
unroot(struct config* config)
{
    if (setegid(config->tincd_uid) |
        seteuid(config->tincd_gid)) {
        log_err("Unable to seteuid/setegid to %d/%d.", config->tincd_uid, config->tincd_gid);
        exit(1);
    }<commit_msg>Mixed up uid and gid, arrgh.<commit_after>#include <sys/types.h>
#include <unistd.h>

#include "chaosvpn.h"

void
unroot(struct config* config)
{
    if (setegid(config->tincd_gid) |
        seteuid(config->tincd_uid)) {
        log_err("Unable to seteuid/setegid to %d/%d.", config->tincd_uid, config->tincd_gid);
        exit(1);
    }
{'fraction_non_alphanumeric': 0.16084977238239756, 'fraction_numerical': 0.0030349013657056147, 'mean_word_length': 3.5517241379310347, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5639717', 'n_tokens_mistral': 276, 'n_tokens_neox': 270, 'n_words': 47}